0

I have my website e.g. www.abc.com which contains some files which are available to download for login users.

If I copy the URL and paste it into another browser where i didn't logged in still that files are available to download. Can i prevent this from IIS? if yes then How?

1 Answers1

0

You can try to use HttpHandler to solve this problem.

I find a problem similar to yours and have the corresponding solution, you can refer to this article that explain how you could do this using HttpHandler. Basically a user couldn't download a .txt file withouth going through this handler. It checked if the user was logged in and part of a particular group.

Hope this helps you.

JennyDai
  • 486
  • 5