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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Download files through servlets

Status
Not open for further replies.

donniea21

MIS
Feb 16, 2001
75
US
I have a project in which i need to give links to confidential forms to people with access to a section of my website..I dont want them to be able to have the link directly to the folder on the server..Can i use a servlet to download the forms to the client while keeping the source secure? Thanks for any ideas...by the way, im new to servlets so including any code would be a geat help
 
well, i thin i understood what you wanto to do.
I know one way to do this. First you have to see what protected folders your webserver has, then use session trackin to trace the user along the website, and also use the authorization header.

if no authorization header is recieved automatically pops up a password window,otherwise, the user would be given acces to the specified file.
I have never done this before, but it is not difficult.

excuse my english, i hope you understand what i mean. If not, reply again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top