PDA

View Full Version : question about script commands for page security



Fred
Jan 12th, 2003, 08: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?

Fred

mordred
Jan 12th, 2003, 08:42 PM
*sigh*

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.

Fred
Jan 12th, 2003, 09:03 PM
Also, I know that protected images are extremely easy to defeat, simply by looking in your internet cache folder.

mordred
Jan 12th, 2003, 09: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.