Username and password embedded into the flash swf at run time?

I would like to add embedded username and password protection for a interactive flash map that I have developed.

So if username and password not valid from the embedded list, then do nothing, or display error invalid password, and or username.

If username and password correct then play or do as normal.

Does anyone have ideas on the way I could go about such an addition to my flash file? Something on the main timeline perhaps.

Any help, direction or better still examples would be really great.

Thanks

Trev.

It would work with a an “if- else” test, run a search on the forum, i’ve seen this several times

Well I am still not good with the if else, but will try, have you got a direct link for password protection Ubik, or can you expand just a little more on a typical example. I think that I would place this on say keyframe 1, as there is only one keyframe anyway for the complete map, as everything is in its own mc instance.

And have it so that if not correct then do not go to frame two. Sample would be ace :slight_smile:

Regards

T

Look at this http://www.kirupa.com/developer/flash5/ifelse.htm , this a simple tutorial on password protection, if you want each people to have their own name and password, i suppose you’ll have to use something like a database.

Thx for the link. No Its simply a few usernames and passwords just to allow same access, no extra or restricted right applied :), thx i will look at this

T

So it will fit you, you can add passwords and also username if you want

Gr8, just what I need :slight_smile: thx again

T

No problem :slight_smile:

you do realize that swf’s can be decompiled, so people can get your usernames and passwords if they wish.

Lol, ok bring me down why dont you.

So preventing import does not correct this issue then?

What else can be done to prevent this from happening ?

Trev

http://www.kirupaforum.com/forums/showthread.php?t=51900

mmmm thx for the link, this is an internal thing, not an external thing.

So maybe the standard will do, as it will not be going live on the net. Its a projector.

:slight_smile:

thx