Click here to Skip to main content
15,896,359 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have location on the IIS To that location Directory browsing is Turned Off. But User is able to download the exe file when he gives the full path in the browser. Any Suggestions how i can re direct to dummy page when tries to access the .exe file.

Localhost/test/test/ -- Permission Denied
Localhost/test/test/setup.exe -- able to download
-TIA

What I have tried:

I have location on the IIS. To that location Directory browsing is Turned Off. But I have .exe file in the folder. User is able to download the exe file when he gives the full path in the browser. Any Suggestions how i can re direct to dummy page when tries to access the .exe file.
Posted
Updated 14-Mar-16 1:42am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900