You could hold the swfs in a database (or in some datastore only accessible to the server), then serve out the swfs through Java or PHP (or any other serverside language). Authenticate each map request with a username / password in the query string. If you wanted to prevent that username / password from being seen (by people watching the line), use HTTPS.
On 6/7/06, Bieniasz, Myles <[EMAIL PROTECTED]> wrote:
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
_______________________________________________ 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