I want to stop users on the internet being able to enter this URL into a browser and access these files directly. How can I do this?
for example: mysite/uploadedfiles/file1.txt
is there any iis rule? Please help me.
I want to stop users on the internet being able to enter this URL into a browser and access these files directly. How can I do this?
for example: mysite/uploadedfiles/file1.txt
is there any iis rule? Please help me.
If your txt files are not meant to be directly delivered to the users via HTTP and they are just accessed by your application logic, you should move them to a different location, not directly published by IIS. This could need some reengineering work. A temporary workaround could be setting up some kind of filtering based on HTTP-REFERRER.
This question is ambiguous, but a simple way would be to: