• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. HTTP Connection > Flash Download Security

Flash Download Security

Macromedia has established a security restriction that limits loading data into Flash. Whether you are using the primitive HTTP data transfer or the sophisticated XML functions, you will not be able to communicate with any web server except the one on which your Flash files are located. More precisely, you can only download from (or upload to) the sub-domain in which your swf file is located.

Similar restrictions apply, for instance, to Java programmers. They are confined to a sandbox, a set of restrictions designed to prevent malicious or careless treatment of the visiting computer. But Java developers can simply request permission from the user to ignore this limitation. This request is in the form of a pop-up window that certifies the identity of the developer and specifies the permissions that are requested. Although disturbing and crude, it is a solution to escaping restrictions. Unfortunately, Flash developers have no similar escape route.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint