Jump to content

html page protection


clutterbuck

Recommended Posts

Hide page source: Disable right clicking - Annoying to the user, and they just have to use keyboard shortcuts/go to the View menu and go to Source.Password Protection: I made a couple of basic JavaScript scripts to password protect, but they are horrible in security and should use server-side languages with or without a database. http://w3schools.invisionzone.com/index.php?showtopic=18140

Link to comment
Share on other sites

I don't think you can protect the HTML. It is what it is. Even if you built the document entirely through javascript calls of DOM methods (certainly possible) and the javascript came down through AJAX, you could still access it through a lot of methods.Javascript can be obfuscated, as they say, and to various levels of "complexity," but that only makes it difficult for a human to understand. The machine can still run it. And a clever human can still work it out with time and patience.If you want proprietary tricks, keep them in your server-side code.If you want to protect a whole "web-app," copyright is your best bet.But don't even think you can keep it a secret how you made such a cool looking border (or what have you) or how you managed to animate a train so realistically. A dedicate hound will find you out.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...