| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|denying access to CSS?|
Could I use .htaccess?
| 5:57 pm on Aug 14, 2002 (gmt 0)|
if my css files are in /css/ could I deny users access to this dir but allow the webserver?
How can I protect CSS?
| 6:05 pm on Aug 14, 2002 (gmt 0)|
Its the user's browser that requests the CSS file, not the webserver.
| 6:06 pm on Aug 14, 2002 (gmt 0)|
Uh, if I understand what you are asking correctly, no.
You can use .htaccess to prevent hotlinking to your css files, however.
| 6:09 pm on Aug 14, 2002 (gmt 0)|
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 ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved