|
|
.:: Preventing Source Code Theft ::.
Do you have a HTML code in your website that you don't want anybody to take? Although you cannot block the Source Code for your site, because all browsers need to be able to read the HTML code in order to properly display your site, you still can prevent people from taking the code, here are some ways:
Disable right click You can disable the right mouse button with a simple DHTML script so people can't right click and View your source code. You can find the code here.
Use frames or iFrames When you view the source code of a website that all there is are iFrames, you will only see a few lines of HTML. This will not fool experienced HTML coders and web savvies, but it's worth a shot.
Encryption A very effective way of preventing source code thieves. You can find many encryption programs on the web, but many are sharewares.
Insert a million random scripts into your site We wouldn't recommend this trick for most people who has big websites, it will get very confusing and hard to get around your own HTML code. But it will keep un-experienced web surfers out of your HTML codes since the scripts will confuse them.
|
|