![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, There is a website in ASP.Net in which there is a File download option with URL English/Scripts/download.aspx?file=.... . Here the code substitutes the URL of the file to download. but If I substitute the URL of the file that is stored on the web server, then file such as aspx.vb or even web.config can be downloaded by any user. Now I want to know how to protect this "file" parameter in ASP.Net, so that only intended files can be downloaded. Thank you |
#3
| |||
| |||
|
|
Hello, There is a website in ASP.Net in which there is a File download option with URL English/Scripts/download.aspx?file=.... . Here the code substitutes the URL of the file to download. but If I substitute the URL of the file that is stored on the web server, then file such as aspx.vb or even web.config can be downloaded by any user. Now I want to know how to protect this "file" parameter in ASP.Net, so that only intended files can be downloaded. Thank you |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |