Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

iTools

Protecting Files

To: "itools@xxxxxxxxxxxxxxx" <itools@xxxxxxxxxxxxxxx>, "<WebDNA-Talk@xxxxxxxxxxxxxxxxxxx> (WebCatalog Talk)" <WebDNA-Talk@xxxxxxxxxxxxxxxxxxx>
Subject: Protecting Files
From: Clint Davis <cdavis@xxxxxxxxxxxx>
Date: Fri, 10 Jun 2005 10:50:57 -0500
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?


---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to 
itools-request@xxxxxxxxxxxxxxx
with the body only containing: 
unsubscribe
Find the searchable mailing list archives 
at:
http://www.tenon.com/lists/html/iTools/                           

<Prev in Thread] Current Thread [Next in Thread>

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists