Forums

ASP

This topic is locked

Dynamic file list (as links)

Posted 14 Jan 2003 16:15:34
1
has voted
14 Jan 2003 16:15:34 Gregory Rampton posted:
Hello!

I have a site built in ASP where a user can log in and if authenticated, she has access to a list of files that she can download. However, our business is growing and we now have more than one client. So, I need to know how I can use the existing page and when a user logs in and is authenticated, she will be presented with a list of files that only she has permission to download.

All the files are in a folder named "datatransfer" on our server's root directory. I have created subfolders ("companyX", "companyY", etc.) inside "datatransfer". I'd like to design it so that when Sally from companyX logs in, the she is immediately presented with a listing of all the files in the "datatransfer/companyX" folder available for download. Each file listing will need to be as a link, too, so that she can just click on it and download it to her computer.

Thanks in advance for your help!

---Greg

Replies

Replied 14 Jan 2003 18:43:34
14 Jan 2003 18:43:34 Dave Blohm replied:
My suggestion is to keep the file info (inc. permissions) in a DB table...

Doc
Rangewalk Digital Studios

Reply to this topic