PDA

View Full Version : Password on all my pages


Miss Phantom
05-12-2004, 06:42 AM
Hi there!

I'm currently making a website that should acquire this login/password thing on the front page.
I have not decided yet whether or not the rest of my website should consist of only flafiles, or if I should make some of the pages htm-files.
Since I'm a newbie at this (and yes, I'm struggling!) it hit me; is all my effort trying to get this password for nothing? When (or rather if) I'm managing to put a password on the first page will this also count for the rest of the pages, or will the rest of the pages be free to enter as long as you have the address and don’t go through the first page?

If so, how can I make the password count for all the pages? Is there a difference if I use fla or htm?

Miss Phantom

farafiro
05-12-2004, 09:58 AM
make all the other buttons not-active 'till the user put the password right

Viath
05-12-2004, 12:48 PM
You could always use a cookie to store the password or some piece of data indicating that the user has logged in, although this will provide no better than moderate security, since cookies are stored locally and can be changed by the user. Assuming you don't have a PHP or CGI enabled server, you could use JavaScript.

Here is a nice tutorial on using cookies with Flash:
http://www.permadi.com/tutorial/flashCookie/

farafiro
05-13-2004, 02:55 AM
Viath
flash has no cookies, but SharedObject()

Miss Phantom
05-13-2004, 04:10 AM
Thanks you guys!
I'm not sure I quite get it, but I'll try to have a look at this tutorial cookies thing.

I'll probably be back in a few days time when I'm on the verge of going crazy still not understanding a bit! Hope you'll be here then!

Miss Phantom