Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to encrypt HTML source code? [duplicate]

Possible Duplicate:
How to encrypt HTML source code output using PHP

I built my static website and I am finished now how to encrypt my source code? Can I hide HTML source code of my page so that nobody can see it?

I have used jquery, iframes, CSS and HTML.

I want protect my website from injection.

like image 856
Ahmet agha Avatar asked Mar 13 '12 06:03

Ahmet agha


1 Answers

This article covers a number of techniques including:

  • Source Code Padding
  • No Right Click Scripts
  • "JavaScript Encryption"
  • HTML Protection Software

However the article concludes:

Unfortunately, the short answer to this question is, you can't [hide your source code]. There have been various methods put forth, but all of these are easily circumvented. In the end, the only sure fire way to make sure no one can steal your source code is to never put it on the Internet at all.

like image 166
4b0 Avatar answered Oct 01 '22 22:10

4b0