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 to register first. Even after they register, I don't want them to be able to access PDFs directly by typing in the full URL - they must click a link within the site. Since the links are always visible, I can't just hide/show them based on the registration cookie. The flow is like this: 1. Visitor clicks link to PDF 2. 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 PDF How 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:

    
  1. Re: Protecting Files (how to display vs. present a link to ( "Mark Pace" 2005)
  2. Re: Protecting Files (how to display vs. present a link to ( eLists 2005)
  3. Re: Protecting Files (how to display vs. present a link to ( "Mark Pace" 2005)
  4. Re: Protecting Files (how to display vs. present a link to ( Stuart Tremain 2005)
  5. Re: Protecting Files (how to display vs. present a link to ( eLists 2005)
  6. Re: Protecting Files (how to display vs. present a link to ( Stuart Tremain 2005)
  7. Re: Protecting Files (how to display vs. present a link to ( eLists 2005)
  8. Re: Protecting Files ( Terry Wilson 2005)
  9. Re: Protecting Files ( Jesse Proudman 2005)
  10. Re: Protecting Files ( devaulw@onebox.com 2005)
  11. Re: Protecting Files ( Kenneth Grome 2005)
  12. Re: Protecting Files ( 2005)
  13. Re: Protecting Files ( Terry Wilson 2005)
  14. Re: Protecting Files ( eLists 2005)
  15. Re: Protecting Files ( eLists 2005)
  16. Re: Protecting Files ( devaulw@onebox.com 2005)
  17. Re: Protecting Files ( Jesse Proudman 2005)
  18. Re: Protecting Files ( Marc Thompson 2005)
  19. Re: Protecting Files ( "my eLists" 2005)
  20. Re: Protecting Files ( Clint Davis 2005)
  21. Re: Protecting Files ( Jesse Proudman 2005)
  22. Re: Protecting Files ( Gary Krockover 2005)
  23. Re: Protecting Files ( Jesse Proudman 2005)
  24. Re: Protecting Files ( Clint Davis 2005)
  25. Re: Protecting Files ( Jesse Proudman 2005)
  26. Protecting Files ( Clint Davis 2005)
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 to register first. Even after they register, I don't want them to be able to access PDFs directly by typing in the full URL - they must click a link within the site. Since the links are always visible, I can't just hide/show them based on the registration cookie. The flow is like this: 1. Visitor clicks link to PDF 2. 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 PDF How 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)