A Flash Developer Resource Site

Results 1 to 20 of 32

Thread: [F8] loading image from PHP securely

Hybrid View

  1. #1
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    here are some things you can do .

    1. create variables using a random number.....random(2000);
    2. search strings looking for a certain combination of characters such as .jpg....png etc
    don't allow the script to continue to execute unless the proper characters are found

    3. encrypt all data outside flash using php or other encryption software before pulling it into flash.
    4. create a secure directroy for all your php pages...then use include or include once statments to pull your php into any html pages you are using.
    5. secure the directories that contain you .swf and use html not java in your html pages to pull in the .swf

    Use loadvars and php session variables to store data or server side actionscript using flash media server

    bullet proof no .............better than nothing yes!

  2. #2
    Product Designer keyone.it's Avatar
    Join Date
    Aug 2001
    Location
    Rome, Italy.
    Posts
    1,625
    @calmchess:

    1. you know that random() is deprecated, and is not a true random function?

    2. why should you not use scripts to load Flash content into the HTML document? you aware of the EOLAS issue in IE?
    Altruism does not exist. Sustainability must be made profitable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center