I want to prevent general access to my css files so I want to know if there is a way to redirect the browser if the user tries to access /graphics/style/*.css using .htaccess since one can't put a redirect rule in a css file?? the css file would be written on page load, and deleted on session end but i need to prevent the css file from being viewed during a session.
Is it possible to do allow access only from server??