and I found more in the manual about sandBox sandboxType (security.sandboxType property)public static
sandboxType : String [read-only] Indicates the type of security sandbox in which the calling SWF file is operating. System.security.sandboxType has one of the following values: ■remote: This SWF file is from an Internet URL, and will operate under domain-based sandbox rules. ■localWithFile: This SWF file is a local file, and has not been trusted by the user, and was not published with a networking designation. This SWF file may read from local data sources, but may not communicate with the Internet. ■localWithNetwork: This SWF file is a local file, and has not been trusted by the user, and was published with a networking designation. This SWF may communicate with the Internet, but may not read from local data sources. ■localTrusted: This SWF file is a local file, and has been trusted by the user, using either the Settings Manager or a FlashPlayerTrust configuration file. This SWF file may both read from local data sources and communicate with the Internet. 2006/6/7, Bieniasz, Myles <[EMAIL PROTECTED]>:
One way is to use the _url property, which will point to the .swf's location on the file system, then just have each map check if it's residing at the proper url. If it is allow the map to be view and if not don't display anything. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Wednesday, June 07, 2006 12:51 PM To: Flashcoders mailing list Subject: [Flashcoders] How to hide SWF Assets from Internet users Hello All, I have an intense situation right now, and I must come up with an answer ASAP. I wrote a map viewer application for my client, in which my viewer can load .swf Vector Maps from a predetermined directory on the server. >From within my viewer, the users can perform drill-down queries, by selecting contents of multiple dropdown boxes - State, Region, then Lake Name. Paid subscribers, have full access to their maps - but it's imperative that they can ONLY view these maps from within the viewer app. Since the Flash Map Viewer, needs to retrieve these maps from the server using a public URL (unless I am overlooking something), how can I hide these maps from the world - if the outside users are able to figure out which path to type into their browser, and snatch up maps? I know that server-side scripts, can access local resources - like "D:\Documents", etc. - but once the Map Viewer is running from a Remote Browser, how can I bury these maps under some type of file system that is not directly accessible by the outside world (but only through the Map Viewer app)??? Also, once the user views a particular map, how can I prevent the map.swf file from being Cached on their hard drive? If any of you could help me out regarding this, I'd be very appreciative. Thanks, Mike _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ************************ MLB.com: Where Baseball is Always On _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
-- João Carlos
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com