Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password Protect Link Download

Status
Not open for further replies.

countdrak

Programmer
Jun 20, 2003
358
US
Suppose I display links to a file when somebody logs in and goes to a page.

<a href = " 1</a>
<a href = " 2</a>


The page is password protected so somebody needs to log in to view the links.

But this does NOT prevent someone from typing and downloading the document.

I dont want them to be able to download other clients documents. by just changing the directory structure.

Thanks for the help and ideas.
 
Put the files in a secure directory and on the server make that directory secure so a password is needed to access it.

_____________________________
Just Imagine.
 
I am using cfdirectory to create the directory on the fly. How do I pull that off ?
 
I would construct a server script as a .bat file using <cffile> and use <cfexecute> to run that.

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel. Covey
 
I would do like GUJU says: Put the files in a folder that web users DO NOT have access to, but CF Server does, and use cfcontent to reach into the protected folder and serve the files. Now you can control with CFML which users get to access which files.



Kevin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top