| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|denying access to CSS?|
Could I use .htaccess?
if my css files are in /css/ could I deny users access to this dir but allow the webserver?
How can I protect CSS?
Its the user's browser that requests the CSS file, not the webserver.
Uh, if I understand what you are asking correctly, no.
You can use .htaccess to prevent hotlinking to your css files, however.
Hmmm.. Clearly didnt think this one through, as a php guy, I should damn well know who requests the css files... Sorry chaps..
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved