Hiding Html Source Code

Hiding Html Source Code

Inexperienced HTML authors frequently ask, “Is there a way I can hide my document’s source from users?” Well, the answer is an emphatic Yes!

By following this HTML Encoder, you can encrypt your source html code, content have will be hidden. The document’s source is encrypted using an many efficient algorithms that makes it nearly impossible to reproduce the original cleartext.

Some examples:


Hello World




function AC84441A5557EE4ADECEDDD5(CEEE37222C90DFDACF40BC182){function A0E44002DC5C8124AB46E(){return 16;}return(parseInt(CEEE37222C90DFDACF40BC182,A0E44002DC5C8124AB46E()));}function DF218B218F1E2682(EC14B5EB303ABD938FF8){var AA02B68711731284=””;for(E25D6C8E484F691245878BE3C=0;E25D6C8E484F691245878BE3C


eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!”.replace(/^/,String)){while(c–){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return’\w+’};c=1};while(c–){if(k[c]){p=p.replace(new RegExp(‘\b’+e(c)+’\b’,’g’),k[c])}}return p}(‘j(l(“%i%g%4%1%h%6%k%b%s%m%q%p%b%6%o%f%2%1%0%0%5%4%2%1%0%0%3%7%2%1%0%0%5%e%2%1%0%0%5%6%2%1%0%0%d%7%2%1%0%0%3%a%2%1%0%0%3%4%2%1%0%0%3%4%2%1%0%0%3%8%2%1%0%0%9%0%2%1%0%0%a%c%2%1%0%0%3%8%2%1%0%0%c%9%2%1%0%0%3%4%2%1%0%0%3%d%2%1%0%0%5%4%2%1%0%0%9%8%2%1%0%0%3%7%2%1%0%0%5%e%2%1%0%0%5%6%f%n%r”));’,29,29,’30|75|5C|36|63|33|65|38|66|32|35|74|37|34|31|22|6F|6D|64|eval|6E|unescape|77|29|28|69|72|3B|2E’.split(‘|’),0,{}));

The document is completely unreadable, of course, and it can’t be properly parsed by an HTML browser, but that’s merely a minor side effect of hiding the HTML source. Don’t let it bother you. The source is safe from prying eyes.

On the other hand, if you want your HTML documents to be readable (like the document you are reading right now), then you cannot hide the source. The browser must have access to clear HTML source in order to produce a readable rendition for the user. There is no way to produce an HTML document that can be viewed in a browser window but whose source cannot be examined.

If you are afraid of having your material copied or stolen, and you do not believe copyright protection will adequately protect your interests, then do not publish your material on the WWW – or at least do not publish it in HTML. You will have to find another distribution mechanism, or another media, that provides the security you need.

Article from articlesbase.com


There are no revisions for this post.

Tags: , , ,

No comments yet.

Leave a Reply