[WebDNA] Can I do something with webdna to pass-protect an attempt to access a swf file directly?

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103433
interpreted = N
texte = Hi all I am now writing and installing (cookie/database-based) code to pass- protect ("parent") pages such as this one: #1) http://www.notmyrealdomain.com/dir1/dir2/Introduction.html ..so that a user cannot watch a shockwave movie unless he has a valid user/pass in my webdna db. (This parent page uses javascript to automatically start to play a shockwave movie which is in that same directory) i.e. this one: #2) http://www.notmyrealdomain.com/dir1/dir2/Introduction.swf I am all set in every way, except that I do not know how to stop a user from simply entering the immediately-above path (#2) to the swf file directly, and so bypassing my user/pass protection code which is in the parent page (#1) (whose path I pasted way above). If I manage to get the shared-host server admin to put server-side (apache? .htaccess?) "realm protection" on the whole folder then the user will never even be able to reach my parent page (#1). If I move the swf file to a new directory and manage to reconfigure the javascript to work to load it at the new location, then maybe it makes sense to use apache/htaccess realm protection for that NEW folder which contains ONLY the swf file.. but then will the parent page still be able to load the swf file without the apache/htaccess user/ pass? Or do you have any suggestions how to solve this? I realize this is bordering on OT, but I'd love to solve with pure webdna if possible. thanks for any feedback, -Govinda Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Can I do something with webdna to pass-protect an attempt to access a swf file directly? (Govinda 2009)
  2. Re: [WebDNA] Can I do something with webdna to pass-protect an attempt to access a swf file directly? (Govinda 2009)
  3. [WebDNA] Can I do something with webdna to pass-protect an attempt to access a swf file directly? (John Butler 2009)
Hi all I am now writing and installing (cookie/database-based) code to pass- protect ("parent") pages such as this one: #1) http://www.notmyrealdomain.com/dir1/dir2/Introduction.html ..so that a user cannot watch a shockwave movie unless he has a valid user/pass in my webdna db. (This parent page uses javascript to automatically start to play a shockwave movie which is in that same directory) i.e. this one: #2) http://www.notmyrealdomain.com/dir1/dir2/Introduction.swf I am all set in every way, except that I do not know how to stop a user from simply entering the immediately-above path (#2) to the swf file directly, and so bypassing my user/pass protection code which is in the parent page (#1) (whose path I pasted way above). If I manage to get the shared-host server admin to put server-side (apache? .htaccess?) "realm protection" on the whole folder then the user will never even be able to reach my parent page (#1). If I move the swf file to a new directory and manage to reconfigure the javascript to work to load it at the new location, then maybe it makes sense to use apache/htaccess realm protection for that NEW folder which contains ONLY the swf file.. but then will the parent page still be able to load the swf file without the apache/htaccess user/ pass? Or do you have any suggestions how to solve this? I realize this is bordering on OT, but I'd love to solve with pure webdna if possible. thanks for any feedback, -Govinda John Butler

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

5.0 feature request: Sort for ListWords (2001) New WebCatalog site! (1997) Cancel Subscription (1996) Great product and great job ! (1997) Fwd: more ! testing (1997) unsubscribe (1997) Frames and WebCat (1997) Car Database (2002) Highlighting words found in a keyword search (2003) Help name our technology! I found it (1997) OT: Unix Geek Needed (2005) (no subject) (1997) External Images (1998) [searchstring] (2000) PCS Frames-Default page is solution! (1997) restarting service remotely on NT (1997) 2nd WebCatalog2 Feature Request (1996) Purchased cart being overwritten - still !?? (1997) SiteBuilder Problem (2004) email preferences on NT (1997)