Login | Register | FAQ

How to hide my code?

+ Post a reply

3 posts Page 1 of 1

How to hide my code?

by Globus » Wed Oct 06, 2010 11:56 am

Is there some way to hide my HTML code (i.e. disable "View Source")?
User avatar


  • Posts: 1
  • Joined: Wed Oct 06, 2010 11:49 am

Re: How to hide my code?

by Richmax » Mon Oct 11, 2010 1:08 am

Globus wrote:Is there some way to hide my HTML code (i.e. disable "View Source")?

i don't exactly what to do on that case.

but if you want you can visit this site : http://www.htmlguardian.org/help_main.html

I know it will helps you on your problem.
User avatar


  • Posts: 1
  • Joined: Mon Oct 11, 2010 12:54 am

Re: How to hide my code?

by HTML.net » Mon Oct 11, 2010 10:26 am

As fare as I know, there is no bulletproof way to hide you code. One way or the other the code has to be send to the users so the user's browser can interpret it.

You can use a javascript to disable right mouse click (http://www.dynamicdrive.com/dynamicindex9/noright.htm) but the user can just click "view source" in the browser / disable javascript / run the page through an HTML Validator with the "view
source" feature activated etc.

Richmax, interessting link! I havn't had time to look closer at the HTML Guardian. It might be better than javascript - but I doubt it is 100% protection?

- Andreas, HTML.net
User avatar

Site Admin

  • Posts: 1194
  • Joined: Sat Sep 11, 2010 11:24 am
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

+ Post a reply

Page 1 of 1