Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Loading data from file...
From: Nuno Esculcas
Date: Mon, 3 Jul 2000 15:20:40 +0100

> What you want to do is have flash send the person's
> username / password to the server (cgi/servlet/etc)
> and have the server reply with a new swf file if the
> authentication is successful.

This is interessant, if you have some code example please send-me this code
ok, many thaks for this if you arrange the code :). One more question, ok:
There's no way to make flash safer and with more security


> You load it all up, with the load variables command,
> then you have the user enter myName and myPass into a
> pair of textboxes, and compare to your list like this:

Yes but my question was right this how i do the "load variables command" in
flash, what is the command lines in the flash window progamer, the rest i
now i use an array of names and passwords... like you said...




----- Original Message -----
From: "Jon Williams" <jonatshovemedia [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Monday, July 03, 2000 14:38
Subject: Re: FLASH: Loading data from file...


> If you want your authentication to be serious, you don't
> want to send the list of valid usernames and passwords
> to flash. That's easily hackable.
>
> What you want to do is have flash send the person's
> username / password to the server (cgi/servlet/etc)
> and have the server reply with a new swf file if the
> authentication is successful.
>
> If however, you're intent on doing it all flash, nothing
> but the flash, you'd make a textfile that looks like:
>
> user1=mary
> &mary_pass=wombat
> &user2=jim
> &jim_pass=slackstack
> &user3=tina
> &tina_pass=oopsy
> ...etc...
>
> You load it all up, with the load variables command,
> then you have the user enter myName and myPass into a
> pair of textboxes, and compare to your list like this:
> - -
>
> Set Variable: "authenticated" = false
> If (Eval(myName & "_pass") eq myPass)
> Set Variable: "authenticated" = true
> End If
>
> - -
> (technically you don't even need the user1 user2 user3 etc
> unless you want to do a separate check for: "that username
> does not exist"...which i guess you'd need to do since the
> above code would let someone put in a bs username and an
> empty password, and they'd probably be authenticated ...
> that's why you do this sort of thing on the backend...)
>
> so please don't do it this way....*grin*
>
> -jon
>
>
>
>
> Nuno Esculcas wrote:
>
> > Hello to all
> >
> > I've got a problem, i want to do a site that needs to be autorized
for
> > the acess. And i need that the flash loads a file (or something) that is
> > will be easy to update.
> >
> > How i do this, the idea is probably a file that has "name" and
"pass"
> > and load this at the start of the flash application (but how this is
done,
> > the loading of the file?)
> >
> > --
> > Ateciosamente:
> >
> > Nuno Jos� Rodrigues Mendes Esculcas
> >
> > njmendesatstudent [dot] dei [dot] uc [dot] pt
> >
> > flasher is generously supported by...
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > flashforward2000 and the Flash(tm) Film Festival
> > July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> > www.flashforward2000.com
> > Produced by United Digital Artists and lynda.com
> > Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> > shockwave.com and Electric Rain.
> > 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> > Register before June 30 and save $200!!-- www.flashforward2000.com
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > To unsubscribe or change your list settings go to
> > http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: user interaction: big oversight, Stuart Mayhew (Garanti Te
  FLASH: Loading data from file..., Nuno Esculcas
  Re: FLASH: Loading data from file..., Jon Williams

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]