I want to deny access to direct request for certain type of files like .gif, .jpg, .css and more.
Example:
Thrs a file named style.css in my root folder and its path is http://www.mydomain.com/style.css
This file should not be accessed by anyone(even me) on direct request like http://www.mydomain.com/style.css through a web browser.
But the file can be accessed by other files in the server like html file or php file..
If my index.html(http://www.mydomain.com/index.html) or anyother file on my server calls for style.css(http://www.mydomain.com/style.css) it must be accessible and not by anythng else.
Hope i was clear in asking my doubt, if not ping here..