Ask a Question related to Macromedia ColdFusion, Design and Development.
-
robinsf #1
How To Secure Downloadable Files
I'm building an application that will allow a group of people to upload and
download files/documents entirely through a web browser. The files need to be
secured using permissions (i.e. different users will have access to different
files depending on the users permissions). Normally, I would use the
Application.cfm file to secure .cfm files but this doesn't work for downloads
since they don't have the ability to reference the Application.cfm file. I've
found an approach for downloading that works by placing the download directory
outside of the web root. The problem is -- how do I upload a document from the
browser to a directory outside of the web root? Can someone recommend an
approach for securing downloads while allowing for uploads from the browser?
thanks,
robinsf Guest
-
How secure are crippled PDF files?
Let's say I have a PDF file that has the following document controls in place: 1. Disabled Printing 2. Disabled Copying 3. Disabled Save As... 4.... -
Secure PDF's merged into 1 document from 2 different Secure Files, possible?
I have multiple Secured PDF files that I have created. There is a possibility that my end user will need to merge multiple PDF files into 1 main PDF,... -
Best way to secure binary files
I've got certain report files on my admin section that i'd like to secure. What is the best method of doing this on the web server? These could be... -
How to secure files and directories in asp.net
Hi, How can i secure files and directories in asp.net ..... i'm using form based authentication to secure my asp.net pages but when any user... -
Restrict access to downloadable files
Mintyman wrote: Darren, Check with your host first. They usually have some kind of script preinstalled that'll restrict access and prevent... -
blewis #2
Re: How To Secure Downloadable Files
You are on the right track...you should store files for secure download
outside the web root. As far as uploading goes, it's easy. When you use
CFFILE with the upload option, you can place that file anywhere on the
filesystem you want...it does not have to be in the web root (and should not be
in this case). ColdFusion sees the whole file system, and so CFFILE is not
limited to the web root. Just save the uploaded files whereever you want.
Bryan
blewis Guest
-
Brian Hogue #3
Re: How To Secure Downloadable Files
You found the first half of the answer (putting the files outside the web
root). The second part is CFfile and/or CFcontent. Your CF will need to see
the directory path to your downloadable files. I believe that I combined the
CFfile (with read) and the CFcontent examples from Ben Forta's WACK. hth
-brian
"robinsf" <webforumsuser@macromedia.com> wrote in message
news:cvvnjn$2nl$1@forums.macromedia.com...and> I'm building an application that will allow a group of people to uploadto be> download files/documents entirely through a web browser. The files needdifferent> secured using permissions (i.e. different users will have access todownloads> files depending on the users permissions). Normally, I would use the
> Application.cfm file to secure .cfm files but this doesn't work forI've> since they don't have the ability to reference the Application.cfm file.directory> found an approach for downloading that works by placing the downloadfrom the> outside of the web root. The problem is -- how do I upload a documentbrowser?> browser to a directory outside of the web root? Can someone recommend an
> approach for securing downloads while allowing for uploads from the>
> thanks,
>
Brian Hogue Guest



Reply With Quote

