Is it possible to hide the image path on an asp.net page without an HTTP handler?

I have many static images under a directory in my site structure and I am not interested in hotlinking or copy protection. For many reasons, I need not to show the image path on the site (or show a fake one).

Is there a way to do this without resorting to an http handler or asp.net work page?

+3
source share
2 answers

You can use URL rewritting . To do this, you will need to implement a custom handler, but there are already third-party options available that you could try.

, , HTTP-, ASHX, , .

+1
0

Source: https://habr.com/ru/post/1741952/


All Articles