View Full Version : question about script commands for page security

01-12-2003, 09:17 PM
If I want security of my page's source code from visitors, what would be some script commands for disabling things like Right mouse clicks and View Source?


01-12-2003, 09:42 PM

This topic has lead to many lengthy and pointless discussions in the past. See this thread: http://www.codingforums.com/showthread.php?s=&threadid=4437

In short, anybody capable of using Google will be able to bypass any view-source prevention you implement.

01-12-2003, 10:03 PM
Also, I know that protected images are extremely easy to defeat, simply by looking in your internet cache folder.

01-12-2003, 10:07 PM
I rather meant that using Google to search for "circumvent javascript protection" or sth. like that will get so many results that he can easily find a method to sneak past even the trickiest protection schemes. You're right of course about the cache. For source code examples on how to disable right-clicks et al, I think there was some sample code in the mentioned thread.