|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How can I stop download of individual file?
Hello
I have a web site that I am going to add user security to (using an SQL database to hold validated user information). While I can easily control access to the site with this I need to know how to stop access to an individual file as shown below: Code:
http://www.mysite.com/downloads/my.pdf Regards James |
|
#2
|
||||
|
||||
|
Hey Nilpo! Please give the "file outside the Web root" tutorial that I don't understand.
LOL.
__________________
Fremen United! Folding@Home team ID 169647. All Fremen welcome. |
|
#3
|
||||
|
||||
|
this is one way to do that:
http://forums.aspfree.com/code-bank...-asp-65239.html just put your files outside the website folder then instead of direct link to the files, use "proxy" ASP file that get file name as input and sends the file to the browser after it verify the user is authenticated. |
|
#4
|
|||
|
|||
|
Thanks
That seems to solve the problem! Regards James |
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > How can I stop download of individual file? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|