Re: [WebDNA] directory protection questions
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100238
interpreted = N
texte = Could you use shell commands to make symlinks to the files and show each customer a 'virtual folder'?Regards,ColinFrank Nordberg wrote:> Terry Wilson wrote:>> Can someone point me in the right direction for managing directory >> protection with WebDNA? Not page protection... directory protection. I >> have libraries full of images on a pay-site, and would like to get >> this matter resolved once and for all. It needs to happen in real-time >> so people can gain access instantly.> > I can think of two ways of doing something similar:> > 1) Random file names> Just choose file names that aren't easy to guess.> This is a simple low security solution and works well if the customer is > supposed to have permanent access to the file once he/she has paid for it.> > 2) [COPYFILE]> Keep the original files hidden at all times and create temporary copies > for each customer.> It's not exactly real-time but provided the files are reasonably small, > we're talking only a few seconds delay.> You better make sure the server can handle it though. If you have a lot > of customers, you'll end up with some serious disc and processor load.> Oh, and remember to add a script for deleting the temporary files after > a set amount of time too!> > > > Frank Nordberg> http://www.musicaviva.com> http://stores.ebay.com/Nordbergs-Music-Store?refid=store> > >
Associated Messages, from the most recent to the oldest:
Could you use shell commands to make symlinks to the files and show each customer a 'virtual folder'?Regards,ColinFrank Nordberg wrote:> Terry Wilson wrote:>> Can someone point me in the right direction for managing directory >> protection with WebDNA? Not page protection... directory protection. I >> have libraries full of images on a pay-site, and would like to get >> this matter resolved once and for all. It needs to happen in real-time >> so people can gain access instantly.> > I can think of two ways of doing something similar:> > 1) Random file names> Just choose file names that aren't easy to guess.> This is a simple low security solution and works well if the customer is > supposed to have permanent access to the file once he/she has paid for it.> > 2)
[copyfile]> Keep the original files hidden at all times and create temporary copies > for each customer.> It's not exactly real-time but provided the files are reasonably small, > we're talking only a few seconds delay.> You better make sure the server can handle it though. If you have a lot > of customers, you'll end up with some serious disc and processor load.> Oh, and remember to add a script for deleting the temporary files after > a set amount of time too!> > > > Frank Nordberg> http://www.musicaviva.com> http://stores.ebay.com/Nordbergs-Music-Store?refid=store> > >
Colin Sidwell
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:
simple answer? [hideif] (1997)
Fun with dates (1997)
Emailer error 571 (1998)
[OT] Web Site Mapping Software (2000)
RE: [WebDNA] Installing WebDNA on VPS (2008)
Help name our technology! I found it (1997)
More DateMath problems (1997)
Here's how to kill a Butler Database. (1997)
WebMerchant email template format? (1997)
weird convertchars behavior (2000)
Editing the search string (1997)
WebDNA-Talk Digests (1997)
Cookies and WebCat?? (1999)
[BoldWords] WebCat.acgib15Mac (1997)
Erotic Sites (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Here we go again... (2006)
Error Lob.db records error message not name (1997)
webcat feature request (1997)
Has anyone built this already? (2003)