Protecting Realms (was: IIS Brain Dead)

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18556
interpreted = N
texte = >From: Bob Minor > >Yeah, but this does not protect individual files. Can either platform do >this? I want to prevent users from gaining access via direct manipulation, >ie > >http://www.thedomain.com/protected/images/yourimage.jpg > >I know you can do this with realms and with certain cgi's and .htaccess on >unix. But what about webcat on mac and nt?I have the exact situation, on the Mac, and solved it beautifully with the $20 Pardeike's Welcome plug-in http://welcome.digitalfarmers.com. You can configure it to do many things, and in my case, it protects specific folders from serving .jpg .gif & .mov unless the referrer is my own server. It sends it a file of your choosing, like a graphic or an .html. In my case, I didn't want to put anyone off, so I made a polite message saying something like 'In order to serve our files correctly, they must be clicked from their thumbnails' and tells them to either use the back button or to go in the front door (then there's a link to the opening page).It also works when you click an inline image and ask to 'open this image'. I haven't done it yet, but I intend to put my custom graphics, like background patterns and other interface niceties in a protected folder, just to make it a little harder for people to rip them off.I have to do this because visitors to the pay site get served up three random pictures as samples, pulled from a pool of about a dozen marked as samples in my picture database. I didn't want someone to get Jenny28.jpg as a sample and then change the url to files 01 thru 27 and beyond. Now they can't. Obviously, Realm-based protection in WebStar won't work in this case, mixing non-member and member access to the same folder. Try it out with the samples at http://www.feetdreams.com to see how it works.Terry WilsonTerry Wilson terryw@rainbowcreek.com Associated Messages, from the most recent to the oldest:

    
  1. Protecting Realms (was: IIS Brain Dead) (Terry Wilson 1998)
>From: Bob Minor > >Yeah, but this does not protect individual files. Can either platform do >this? I want to prevent users from gaining access via direct manipulation, >ie > >http://www.thedomain.com/protected/images/yourimage.jpg > >I know you can do this with realms and with certain cgi's and .htaccess on >unix. But what about webcat on mac and nt?I have the exact situation, on the Mac, and solved it beautifully with the $20 Pardeike's Welcome plug-in http://welcome.digitalfarmers.com. You can configure it to do many things, and in my case, it protects specific folders from serving .jpg .gif & .mov unless the referrer is my own server. It sends it a file of your choosing, like a graphic or an .html. In my case, I didn't want to put anyone off, so I made a polite message saying something like 'In order to serve our files correctly, they must be clicked from their thumbnails' and tells them to either use the back button or to go in the front door (then there's a link to the opening page).It also works when you click an inline image and ask to 'open this image'. I haven't done it yet, but I intend to put my custom graphics, like background patterns and other interface niceties in a protected folder, just to make it a little harder for people to rip them off.I have to do this because visitors to the pay site get served up three random pictures as samples, pulled from a pool of about a dozen marked as samples in my picture database. I didn't want someone to get Jenny28.jpg as a sample and then change the url to files 01 thru 27 and beyond. Now they can't. Obviously, Realm-based protection in WebStar won't work in this case, mixing non-member and member access to the same folder. Try it out with the samples at http://www.feetdreams.com to see how it works.Terry WilsonTerry Wilson terryw@rainbowcreek.com Terry Wilson

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:

emailer (1997) More questions about serial number dishing (1997) Time for a hard questions. (1997) Subtotal Not Calculated on Invoice.html (1998) Showif, Hideif reverse logic ? (1997) WebCat2b15MacPlugin - showing [math] (1997) OT Pager notification of completed orders (1998) won't serve .tpl (2000) WebCatalog-NT?'s (1996) upgrading (1997) WebMerchant/MacAuthorize (1998) WebCat2b15MacPlugin - [protect] (1997) New WebCatalog site! (1997) docs for WebCatalog2 (1997) FAX orders (1996) Error:Too many nested [xxx] contexts (1997) Is it IE6 hating rediercts? (2004) Date sorting (1997) re: Default contains WEBDNA (1998) [IpAddress] Tag (1997)