Claude has a good solution there, but you could also have them create a
secure directory that only you and the CF user has access to.  Throw in
an .htaccess file (or it's equivalent in the windows world if that's
what you're on), so spiders don't try to index it.

> -----Original Message-----
> From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 27, 2006 1:10 PM
> To: CF-Talk
> Subject: Re: CF Hosting w/access above root folder
> 
>  >>The only thing thats missing is access to a folder above 
> my webroot 
> so I can store docs outside of my site for security.
> 
> The is a way to get around this problem:
> - store your docs in a special directory, but change the name to 
> whatever.cfm
> - save the true name and type in your database.
> - put a file Application.cfm in the same directory that just contain 
> <CFABORT>
> - make a tamplate to download the document with something like:
>  <cfheader name="Content-Disposition" value="attachment; 
> filename=#trueFileName#">
> <CFCONTENT TYPE="application/octet-stream" 
> FILE="#pathDoc##localName#">
> 
> where trueFileName is the original file name of the document,
> pathDoc is the path where documents are stored as CFM files,
> and localName is the actual name of the file.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236273
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to