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)