Wednesday, December 9, 2009

Preventing Home Website Published In the Inline Frame

Have you use inline frames to display other web pages? Exciting is not it? However, this fact becomes unpleasant for the owner of the website pages are pages that appear in the frame. For an admin who understand this is certainly very bad, because the use of frames to display other websites without the consent of the parties involved with the theft of data, and of course the other impact is sucked bandwidth would be greater, and others, is bad in the search engine, the black list, because it is considered cheating in SEO path.

So what's the solution?
Actually something like this could be prevented with a simple javascript.
Put the script below on every page you want to protectionism. Very easy.

Script on the duty to detect:
if the url of the page accessed is not the actual url where the page is, then do redirect to the original url.
Okay, so. Good try.

Tutorial files can be downloaded here::
http://ilmuwebsite.com/file_tutorial/inlineframe.zip

1 comment: