Protecting Files
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62156
interpreted = N
texte = I'm running iTools 7.3/Apache 2.0 on an Xserve.I have several PDF files on my site. To view the PDFs, each visitor needs toregister first. Even after they register, I don't want them to be able toaccess PDFs directly by typing in the full URL - they must click a linkwithin the site. Since the links are always visible, I can't just hide/showthem based on the registration cookie.The flow is like this:1. Visitor clicks link to PDF2. Are they registered? a. Yes i. Show the PDF b. No i. Take them to the register page ii. Visitor completes form and clicks submit iii. Show the PDFHow can this be done?Use .htaccess?Use mod_rewrite?Other solution?-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I'm running iTools 7.3/Apache 2.0 on an Xserve.I have several PDF files on my site. To view the PDFs, each visitor needs toregister first. Even after they register, I don't want them to be able toaccess PDFs directly by typing in the full URL - they must click a linkwithin the site. Since the links are always visible, I can't just hide/showthem based on the registration cookie.The flow is like this:1. Visitor clicks link to PDF2. Are they registered? a. Yes i. Show the PDF b. No i. Take them to the register page ii. Visitor completes form and clicks submit iii. Show the PDFHow can this be done?Use .htaccess?Use mod_rewrite?Other solution?-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Clint Davis
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:
Setting up WebCatalog with Retail Pro data (1996)
Multiple catalog databases and showcart (1997)
pop-up list to select template (1999)
system crashes, event log (1997)
Separate SSL Server (1997)
carriage returns in data (1997)
How Many SKU's is enough? (1997)
Shipping by order total (2003)
An easy one (1999)
Upgrading old WebCat Database Files (1997)
db security on NT (1997)
Roundup function? (1997)
Spiders (1998)
expired beta (1997)
Weird Problem (1997)
Using [Include] Context (1999)
[WebDNA] Silly question (2009)
PSC recommends what date format yr 2000??? (1997)
Force a search at the default.tmpl page? (1997)
OT: ip address lookup (2007)