Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Flash authentication without database

Flash authentication without database

2004-02-21       - By Dominico Savio

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

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)