PDA

View Full Version : protecting html source code..help



bob_bud
03-21-2004, 01:33 PM
hello,
can any one help me by providing some info about code or software which can be used to protect my html code from viewing?

alex_geek
03-21-2004, 01:53 PM
i think there are many scripts availible on net for free for this kind of protection.There is also a software that might be useful to u.its called html protector. http://www.html-protector.com

Endomorph
03-21-2004, 03:35 PM
Easiest thing I have found to do bob_bud is convert your whole page to UNICODE. There are a few packages out there that are free, and a few that you will have to pay for.

splinter
03-21-2004, 05:37 PM
I would seriously not recommend using that program unless you want your website to be inaccessible to millions of people.

How?

That program uses javascript and lots of people have this turned off on their browser. Also, people who need to use screen-readers and other such software will not be able to access the site.

It also makes the site user-unfriendly. You can't print the site, right-click etc. etc.

Also, why do you want to hide the code?

ranjan
03-21-2004, 11:59 PM
First read this

http://www.vortex-webdesign.com/help/hidesource.htm

Then this

http://www.total-impact.com/forums/showthread.php?s=&threadid=2063&highlight=html+protect

In short forget it, it just is not possible. A browser has to understand the HTML to render it, hence if the browser is smart enough to decode your encoded HTML, there are people smart enough who can decode it as well.

mikmik
03-22-2004, 12:14 AM
ranjan gave this
First read this

http://www.vortex-webdesign.com/help/hidesource.htm

Then this

http://www.total-impact.com/forums/showthread.php?s=&threadid=2063&highlight=html+protect

The first one, "Vortex", is halarious. I think it should be stickied, along with your explanations of browser functioning, at the top so that we don't have to go through this every time.
I believe we all wanted this at one time or another when we were new.

Did you know that at the second link you gave, there is someone using your name, ranjan? Just thought you might want to know. :O)

I really would like a little diddy by ranjan though, he is easy to understand and helps us realize the futility of trying to protect content.

bob_bud
03-22-2004, 01:22 AM
hello i checked the html-protector software..its what i want exactly..alex have u used it before?
thanks

splinter
03-22-2004, 03:39 AM
Why do you want to hide your code? I don't want to sound repetitive but, as I mentioned above, there are many reasons not to use that software and no reasons for using it.

The web was invented to share information so surely it should remain that way.

jdiben
03-22-2004, 09:51 AM
Even it were possible to hide your HTML it would be pointless. Anyone with an understanding of HTML could duplicate the look of your page just by viewing it in their browser. There is a difference between HTML and Code. HTML is not code. HTML is a markup language which means all that it does is tell the browser how to display the information. HTML is easily duplicated.

Joe

splinter
03-22-2004, 10:59 AM
Actually, I took a look at the source-code provided by that HTML-Protector and all it is is unicode. But unicode can still be hacked and read. Some people can read all sorts of code like I can read this text I'm writing.

Basically, you cannot prevent someone looking at your code. If you have it encrypted, people will be able to un-encrypt it. Someone had to do it in the first place.

Take it from me, don't do it. It's pointless. You'll also save money :D

ldyguique
03-23-2004, 09:53 PM
Ahhh yes, the top security of the internet. I, too, laughed heartily when I read the vortex site, mikmik (and promptly dragged it into links). Thanks, ranjan.

I think that this issue is quintessential internet. For the vast majority of people, their skills lack "right click" or even a knowledge that View Source exists and couldn't possibly decipher the coding if their lives depended on it. The relatively-few who can, have the skills to circumvent and freely share the knowledge.