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:
Forms Search Questions (1997)
OT-Load balance (2004)
List of WebDNA sub-contractors (2000)
can WC render sites out? (1997)
Loosing Quantity (2000)
OT: Need some feedback, please. (2003)
Adding Multiple Items to Shopping Cart from a Results page (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
transferring values (1998)
External DBs for webcat on maco os (2001)
[WebDNA] [SETMIMEHEADER] (2013)
Add to Cart & List of Products (1997)
WCS Newbie question (1997)
E-mailer error codes (1997)
WebCat2b13 Command Reference Doc error (1997)
Further tests with the infamous shipCost (1997)
Location of Browser Info.txt file (1997)
Linux [decrypt] bug exists only on webcat 3 or also 4? (2000)
Trouble with formula.db (1997)
Notepad problems (1998)