Here is a very simple example.  You can use either the JSP or aspx files
to validate the credentials.

 

It is programmatic, that is it does not use any built-in os or servlet
container security functionality.

 

The example uses  a viewStack, rather than a pop-up, but the idea would
be the same.

 

http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI
D=556

 

Tracy

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of qnotemedia
Sent: Thursday, December 07, 2006 9:10 AM
To: [email protected]
Subject: [flexcoders] Simple Flex2 Security?

 

I have an application that has two states (View and Edit), and one 
button toggles between the two states. There are a few components, but 
none of them are required for the non-logged-in state.

Can someone recommend a methodology for implementing some very simple 
security in he main app? i.e. typing in a username/password (or maybe 
just a password only), and on success, enabling the button that toggles 
the states.

It seems that most articles I've read on the topic are at a much higher 
level, but not all of us are building enterprise level Flex apps. I 
don't have FDS, I can't use RemoteObject on my server (HostMySite), and 
I'm using ColdFusion 7.01 on the backend.

Thanks - Chris

 

Reply via email to