Quote:
Originally posted by KraZ
Also, I'm not sure if it's of any help but studio.adobe.com uses some kind of gimmick that actually prevented me from saving it to my hard drive. I can view the source all right but I couldn't save it... [still not sure why]
Generally, unless you get dynamic content from a DB, it's impossible to hide code. I mean, you can't steal server-side code, only client-side code.
However, you can do some tricks to protect your client side code. You can use includes for the CSS and JS, use several files, includes within includes but this will probably just complicate things and will only help you against newbies.
|
Thanks, I'll have to take a look at that.
I'm really only looking for code snippets which will make it more difficult for inexperienced webmasters to view source.
Experienced webmasters will always be able to figure out a way to get around such obstacles, but I doubt I have any code which would be news to anyone who really knows what they are doing.
I'm just sick of seeing html, php, and tags etc. obviously copy-pasted from my pages on sites belonging to people too lazy to even come ask a how-to question on gfy.