Sorry if this sounds stupid but I'm trying to understand something. I have been using AS 2.0 for a flash site I am creating in CS3.
When I go to export it, it gives me the option to set Access local files only or Access network files only.
I have been using Access local files only as up until right now I have not needed to allow the end users to access anything past my domain. However in order to avoid having to upload pictures(or videos) to my site for their profiles I was going to set up the loader to load a URL from say YouTube or Photobucket or the like. I am assuming I will have to switch the export to access network files only at this time in order to accomplish this.
So 2 questions:
1. Am I correct in this thought process?
2. What are the security risks of allowing this type of access?
3. Is there a better way to accomplish this?
I was actually going to allow them to upload there own pics but to be honest I was having a vary hard time getting a grasp on the FileReference class. And after thinking about dont really want them uploading anything to the server.
Any suggestions would be great! Thanks!
p.s. Almost forgot. If I wanted someone to be able to write a url to an image into the database, how would I pass it through flash, to php to the database? Currently I have an input box that sends to the PHP and the PHP writes back to the database. However its writing in the database as undefined.