Aminadav
asked on
The best way to restrict access to file using Referrer (iis)
Hello.
I have lot of media on my server (video and images).
I want to block the access to the files directly and allow to view the files when there are embed in my  webpage. (for example: www.example.com)
What is the best way to do it?
I am using IIS7.
If it is not possible in IIS7, I would like to hear ideas, how to do it in APACHE. (I can move to apache)
I have lot of media on my server (video and images).
I want to block the access to the files directly and allow to view the files when there are embed in my  webpage. (for example: www.example.com)
What is the best way to do it?
I am using IIS7.
If it is not possible in IIS7, I would like to hear ideas, how to do it in APACHE. (I can move to apache)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hope you're aware that the Referer check is no bullet proof solution
It is one of the easiest to bypass. Another way is to encode the file and then send it byte by byte, which I was working on a finished piece of code when the asker closed the question.
ASKER