Protect Your Site
How can I protect my site?
Here are some codes you may want to use to help protect your site content and images. Unfortunately, the biggest issue today for webmasters seems to be theft, either of your graphics and content directly, or from people direct linking to your images and content and running your bandwidth bills sky high. These codes will help you sidestep them a little.
Disable Right Click with Warning
To disable the right click feature so that your visitor cannot right click and save your graphics to their computer, add this code to the head section of you page.
Disable Right Click without Warning
To disable the right click feature so that your visitor cannot right click and save your graphics to their computer, add this code to the head section of you page.
Disable the Image Toolbar
If you have windows xp, then you know that when you hover your mouse over an image, a toolbar appears on the image, giving you the option of saving the image. So disabling right click on your page doesn't help much when someone can snatch your images with this toolbar. Want to disable it? Add this code to the head of your page.
Disable the Image Toolbar - Individual Image
By adding a small command to your image source code, you can stop the image toolbar from appearing for that image.
Password Protected Page
With this code, an alert will appear when someone tries to enter the page asking them for the password. If they don't answer correctly, it will redirect them to another page. Add this code to the head section of your page.