Editor: Do you want to make sure that your visitors can only access your content via your domain. This Referrer verification / validation JavaScript is very useful for this. This javascript verifies that the request for the page (containing the script) was made from a page on your domain. This is really useful for log in forms that you want to make sure that the visitor uses the form you provide on your server.
The below Javascript should be placed in the HEAD section of your HTML document.