# Secure login w. flash

**URL:** <https://forum.kirupa.com/t/secure-login-w-flash/155849>\
**Category:** flash\
**Created:** [July 20, 2005, 7:52pm UTC](https://forum.kirupa.com/t/secure-login-w-flash/155849 "2005-07-20T19:52:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beforedawn](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@beforedawn](https://forum.kirupa.com/u/beforedawn)\
**Post date:** [July 20, 2005, 7:52pm UTC](https://forum.kirupa.com/t/secure-login-w-flash/155849/1 "2005-07-20T19:52:43Z")

</div>

Hi,

I am trying to write a secure login using flash.

I worked out that the login must be separate from the protected content otherwise a decompiler will get round it very quickly.

At the moment I have a login swf that posts variables to a server side script which then creates a session for a valid user.

The idea is to then forward on to the protected content. However I am unsure how to pass the users info to the swf so a user could not modify before the swf gets it and thus see another members content or what I can do to stop someone just accessing the content directly by just knowing the swf file’s location.

Thanks in advance

ash
