views:

54

answers:

3

i need code that will protect website code that can be put on the webpages of a site thanks in advance!

A: 

You don't understand the concept of a web server do you? You can't protect the user from seeing the content of the pages. See wget

drachenstern
A: 

If you are trying to protect the html of your site, it's not possible as outlined here. If it's something else you are trying to do, you need to add more details to your question.

rosscj2533
+2  A: 

Your server side code will not be visible to the browser, and your client side javascript can be obfuscated (but not hidden or made entirely unreadable).

Your HTML could be obfuscated by using a document.write statement and javascript along with escaped characters, but someone could simply view the source. There is no way to protect this, and in any case nothing to hide....

James Westgate