  | |  | Flash authentication without database | Flash authentication without database
2004-02-21 - By Dominico Savio
Back Thank you for you quick reply.
I have tried using Flash with XML, text file, but with the AS Viewer, they
can lookup the file storing username and password.
I can 't access to the htaccess or htpasswd files. :(
Any suggestion?
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??
Dominic
-- --Original Message-- --
From: Jim Cheng [mailto:jim@(protected)]
Sent: Saturday, February 21, 2004 6:43 PM
To: flashcoders@(protected)
Subject: Re: [Flashcoders] Flash authentication without database
Dominico Savio wrote:
> Is there a way to build a Flash authentication without using a database???
Certainly! The entire reason for the existence of databases
is for quick access to very large numbers of records. If
you don 't need to authenticate too many users against their
passwords (perhaps under a thousand unique users), you can
just use a plain text file to store their names and passwords
The Unix passwd system and many web servers do just this for
their built-in access control. You 'd then only need some
server-side script that 'll communicate with Flash, scan the
file and authenticate their password against what 's listed
for that user in the file (typically a hash for security
reasons).
If you 're using Apache, you even do this with just .htaccess
and .htpasswd files in a local directory without having to
go through scripting to limit user access to certain files.
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:104910
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
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:104911
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |