|
-
May 24th, 2002, 02:15 PM
#5
You *cannot* fully encrypt the HTML code because the full, unencrypted code must be sent to the browser in order for the page to be rendered correctly. Any encryption employed must be two-way so it would take a matter of seconds to remove it with the correct tools.
The JavaScript no-right-click trick is also pointless, in IE all you have to do is go to View->Source and you get the whole source code for the HTML page, including JavaScript etc. Or just save the page to your hard disk, edit it and remove the JS code, and then reload the local page in your browser.
Why would you want to stop anyone from looking at your HTML code anyway? There's no security reason for doing so (I certainly hope no-one is transmitting sensitive info in their code - because that's an easy way to exploit CGI scripts, shopping carts etc.). Anything you do in your HTML has probably been done already and can be downloaded from some free site.
Let your visitors learn from your code and they will appreciate you for it. Deny them access and you will annoy the legitimate users without stopping the people who want to copy what you've done.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|