I need to pass private data from MySQL to a flash file securely. I have a PHP script that is assigning varia开发者_C百科bles on the server side - how do I pass this to flash without being available publically? I assume XML and an HTTP query string are out of the question because of security. What's the most secure way of doing this?
Thanks!
Basically I have some file paths that I need to load into a music player - however, I don't want these URLs to be publicly known. I was hoping I could pass data directly to flash securely somehow.
Alternatively, should I be storing these documents as local file for flash rather than URLs?
If you pass "private" data to the client, he'll be able to read/decrypt it no matter what you do.
use htaccess and mod rewrite to dynamically create the filename based on something random that the flash can pass to your server
or
create a PHP session for the user and echo the file contents using PHP, if the session doesn't exist then PHP can just exit
精彩评论