Protecting Style files from wandering eyes
Froggie - July 20, 2009 - 09:11
| Project: | Marinelli |
| Version: | 6.x-2.94 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi all readers,
I am using this beautiful Marinelli theme with Drupal 6.6 and am quite satisfied. To suit my requirements, I did make some modifications in the theme pages including the style sheets.
I was wondering if there is any way out to prevent unauthorized persons from viewing the style.css pages by calling it directly from their browsers.
Currently, anyone can read the modified style sheet pages by visiting the site http://www.mywebsite.com/themes/marinelly/style.css or layout.css etc;
I shall be grateful if anyone is able to push me in the right direction.
Many Thanks in advance

#1
I think it's a waste of time to find ways to protect css files.
1) You're grabbing a free theme and although you might add some modifications to it it's not like you're reinventing the wheel and you want to protect your masterpiece.
2) The ones determined to find out they'll always will.
However if you want to take that ride google around and you can find some options. Start here for example:
http://www.trap17.com/forums/Protect-Css-File-Public-t36290.html