Here are some ideas:

1.  Use apache set_handler to cause requests for .doc, .pdf, .etc 
mime-types to be handled by Witnago.  Then inspect the request header to 
get the appropriate file, and validate cookies.

2.  Use apache mod_rewrite in a similar manner  to map specific 
directories containing your files to an appfile.

3.  Use apache authentication to control access to specific directories.  
The easiest way to handle this would be for your login appfile set the 
user's access permissions in a Berkely DB file or in a password file 
specified in the <Directory> stanza.

>How is the best way to secure files on a public server and only provide
>access to them if the user has logged in?  .doc, .pdf, etc.  I know I can
>stick them in a database but what are the other options?
>
> 
>
>Currently using NT 4.0 and Witango 5.0  
>
> 
>
>Thanks,
>
>Chuck Lockwood
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>LockData Technologies, Inc.                 
>309 Main Avenue, Hawley, Pa 18428         
>570-226-7340 ~ Fax: 570-226-7341   
>[EMAIL PROTECTED] ~ www.lockdata.com                  
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  
>
> 
>
>
>________________________________________________________________________
>TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Bill Conlon

To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306

office: 650.327.2175
fax:    650.329.8335
mobile: 650.906.9929
e-mail: mailto:[EMAIL PROTECTED]
web:    http://www.tothept.com

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to