I would approach this via a session. The user gets an authentication token when they enter the correct way. You could save this in the server session (if you have a server) or simply as a browser session cookie. Your 2nd app checks for a vald session when it starts.
On Sunday, September 9, 2012, Laurence MacNeill wrote: > I have a Flex program that I only want users to be able to access if > they're already inside a different Flex program I wrote, or inside a > web-page on my server. > > Is there a way, within that Flex program to which I want to restrict > access, to tell the URL or server *from* which it was called? > > In other words, If someone types > http://www.mydomain.com/MyRestrictedFlexProgram.html directly into their > browser, I want the program to tell the user they don't have access -- BUT > if a different Flex program (or a web-page) on my server calls that URL, I > want my restricted-access Flex program to go ahead and run normally... > > Thanks for any help you can give me. > Laurence MacNeill > Mableton, Georgia, USA > >
