How to encrypt HTML source code?

Possible duplicate:
How to encrypt HTML source output using PHP

I have built my static website and now I am ready to finish encrypting my source code. Is it possible to hide the HTML source of my page so that no one can see it?

I have used jquery, iframes, CSS and HTML.

I want to protect my site from injection.

+3


source to share


3 answers


This article covers a number of techniques, including:

  • Correcting the source code
  • Right click scripts
  • JavaScript Encryption
  • HTML security software


However, the article concludes:

Unfortunately, the short answer to this question is that you cannot hide your source code. Various methods have been put forward, but they are all easy to get around. After all, the only surefire way to make sure no one can steal your source code is to never put it on the Internet at all.

+12


source


You cannot, unfortunately. The HTML is always open for the browser to display, so there is no way to encrypt it.



+2


source


There is a website dedicated to this issue . They offer the tools to achieve what you want. But anyway, just google a little more, hope that helps

+1


source







All Articles