• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 519
  • Last Modified:

How bullet proof is HTML code encryption?

Hi All,

 How bullet proof is HTML code encryption?
And if it is really hard to figure out and decrypt it, what is the best software tool out there for the job?

0
tantan6611
Asked:
tantan6611
  • 2
1 Solution
 
TNameCommented:

Not bullet proof at all, I would say, as the browser has to be able to interpret it.
Of course it all depends on who you want to hide the html from. Also, hidden/protected code night make people curious.
If you want to make it hard(er) to figure out, just don't use html, use an applet or flash - but as a general rule, I'd say, by trying to protect your code, you will make it less and less accessible to many users.
As COBOLdinosaur said in one of the older or ancient threads below, as an ultimate weapon to steal the html, a programmer can write an own simple browser/client and do with the received source whatever he wishes.

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/HTML/Q_10975142.html
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/HTML/Q_20070072.html
http://www.experts-exchange.com/Web_Development/Software/FrontPage/Q_22838381.html

So it's all a question of - how hard do you want to make it for the regular user to see the code, vs how accessible do you want your site to be/remain...  All keeping in mind that there's no bullet-proof way of protecting HTML.

0
 
TNameCommented:
Just an example for this equation of pros and cons. The very simple "encryption" performed e.g. here
   http://www.w3tool.com/html_encryption/
will probably be sufficient for 90% of all users/visitors, but it takes seconds to reverse by simply unescaping the main resulting string. And still, it will make the site unaccessible for users with javascript disabled, even if the site itself doesn't depend on js...

0
 
tantan6611Author Commented:

My site depends on JS so user has to enable it as a defult in order to view the contents.
However my main target is to hide a swf file source by encrypting its html code....so we are talking about partial encryption...But if you are saying that its an easy job to decrypt; so its better not to use this option.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now