  | |  | Flash authentication without database | Flash authentication without database
2004-02-22 - By Dominico Savio
Back never mind my last post :) I just use the easy way, read the XML-formatted
text file (located outside the root) from PHP then pass it to Flash, and
Flash make it an XML object :) This way, I don 't have to modify my existing
code :)
thanks anyway.
PS: Please let me know if this way of doing still have some security hole.
Thanks in advance
-- --Original Message-- --
From: Dominico Savio [mailto:dominicosavio@(protected)]
Sent: Saturday, February 21, 2004 11:29 PM
To: flashcoders@(protected)
Subject: RE: [Flashcoders] Flash authentication without database
The problem is :( I am not really good with PHP :( Any pointer?
-- --Original Message-- --
From: Jim Cheng [mailto:jim@(protected)]
Sent: Saturday, February 21, 2004 7:46 PM
To: flashcoders@(protected)
Subject: Re: [Flashcoders] Flash authentication without database
> PS: I am trying out this method, placing the xml file outside the root
> folder, have a PHP script to look read it and pass the data back to the
> Flash. Is this method secured enough??
That 's a great plan. The XML file should be secure from the
user trying to access it via HTTP; they 'd need to secure root
access to the machine or somehow exploit the webserver with
to read it (rather difficult).
You 'd probably want to validate the user in your PHP script
(e.g. ask for a username and password in Flash, send it over
to PHP using XML.sendAndLoad() and check the data against the
XML file before sending data back (if it fails, you can send
an error).
Regards,
Jim
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104912
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104913
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104915
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |