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:
WebCat2b13MacPlugIn - [include] (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
Bug Report, maybe (1997)
Still Stumped on ShowNext...HELP! (1997)
Get Cookie problem..... (2000)
docs for WebCatalog2 (1997)
Bug? (1997)
Banners and sort of random display (1997)
Custom errormessages.db to intercept directory names (2002)
Add (1998)
searching within same page (2000)
Customer - again (1998)
Webcat2, WebCommerce, Mod 10 etc. (1997)
Trouble with adding multiple items to cart (1999)
[CART] (1997)
ReadDateFormat bug in 3.0.1 (1998)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
Search in 2 or more catalogs (1997)
RequiredFields template (1997)
serial number generation (1997)