Link to home
Start Free TrialLog in
Avatar of Alopederii
Alopederii

asked on

HTML Encryption?

Is there a way to encrypt HTML so that the "view source" is unreadable by people but readable by at least Internet Explorer?

Could I do something like convert it to binary?

My searches on the Internet only found products that "encrypt" HTML but decript it in the view source with the JavaScript function "unescape".  This is NOT what I want, because any intermediate JavaScript user could access the HTML code.
Avatar of hexagon47
hexagon47

no the html code is on the  client machine and you cannot hide it
SOLUTION
Avatar of hexagon47
hexagon47

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Why? I cannot believe you're doing anything in HTML that is THAT unique that nobody else could duplicate it.

If you're looking to protect the INFORMATION -- slap a copyright notice on it, and sue anybody who copies it. That's what the large corporations do. The CONTENT is different from the FORMAT.
Why? I cannot believe you're doing anything in HTML that is THAT unique that nobody else could duplicate it.

If you're looking to protect the INFORMATION -- slap a copyright notice on it, and sue anybody who copies it. That's what the large corporations do. The CONTENT is different from the FORMAT.
Avatar of Alopederii

ASKER

hexagon47 -- LOL, I like that link.  Are the <INVISIBLE> tags NN 4 compatible? :)

Louskan -- thanks for the work-arounds, but I think I would want to make it unreadable (even if the user saves it to their hard drive).

webwoman -- this is just something that has been bugging me.  I realize that the copyright would solve the protection problem.


Can't Flash do something like this?  It's only readable if the user has Flash, right?
I don't know, have not tried, I am afraid the browser will disapper :)

Alopederii trust me and look at this site and listen to webwoman: there are milions of sites and milions of users. The internet is about sharing knowledge and making knowledge AVAILABLE.

If a kid that for the first time goes to the web and rocks up at your website, wouldn't you be happy if he uses your html to learn ot improve his knowledge?

My opinion is this: put on the web the best you can and spend time to improve it not to hide it.

Sorry for the rant...

However do you think it's worth it to display your site as flash? You prevent users that do not have a flash plugin to see it because you want to hide the source? Do you honestly think it is worth it?

Then at this point learn asp and put chunks of code and content in a database, but it's not worth it

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you cannot write HTML code that is good enough for everyone to see, then do not write any at all.


"A good coder does not need to steel anothers code"

jAy
Thank you all for your input.

I decided to give split the points for:

hexagon47 -- I really liked that link!

COBOLdinosaur -- I had forgotten about document.documentElement.innerHTML (even though I have used it plenty of times!).  As you have mentioned, that would make it impossible to encode HTML by ANY means.

Again, thanks!
Glad we could help.  Thanks for the A. :^)

This new split points features seems to work pretty good. :^)

Cd&
Glad we could help.  Thanks for the A. :^)

The new split points feature seems to work pretty good. :^)

Cd&
Glad we could help.  Thanks for the A. :^)

The new split points feature seems to work pretty good. :^)

Cd&
Glad we could help.  Thanks for the A. :^)

The new split points feature seems to work pretty good. :^)

Cd&
Glad you liked the link
Keep up the good work
I like the 'good assist' feature :)

Cd& you were quite enthusiastic about it :)
I know this is a late entry but... there could be information contained in hidden form fields that I would want to protect or maybe the url to my images folder. Sure, a user can right-click and save my image but I can use a no right-click script, open a window without a menu and most novice users won't know a way around this. Otherwise, you want my code, god bless you!
budweiser

i am a novice ;p
but i can still get your code