# How to protect my flash application?

**URL:** <https://forum.kirupa.com/t/how-to-protect-my-flash-application/290530>\
**Category:** programming\
**Created:** [June 16, 2009, 6:29am UTC](https://forum.kirupa.com/t/how-to-protect-my-flash-application/290530 "2009-06-16T06:29:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabi](https://avatars.discourse-cdn.com/v4/letter/g/f07891/32.png) [@Gabi](https://forum.kirupa.com/u/Gabi)\
**Post date:** [June 16, 2009, 6:29am UTC](https://forum.kirupa.com/t/how-to-protect-my-flash-application/290530/1 "2009-06-16T06:29:48Z")

</div>

Hello everybody. I am gonna to create a comercial application in flash ,and I am interesting how to protect my flash movie with php. I am a begginer in php , but if you help me , I am gonna go search on the web .

Is this idea good?  
I think to create a php page where to put an InputText and to create a random generator serial code in php . The client buy the serial code from me ,and then copy his code in InputText.  
if InputText == algorithm of key generator then (redirect) go to and play flash movie  
else error.

Can you give me an exemple for this ? It this possible ? How can I redirect a visitor / client to right webpage?

Thx for helpful answers!
