You can (I think) change the right click event handler with javascript, but how are you going to prevent the users to do edit -> view source code in their web browser? Maybe you can do some obfuscation to render the source code difficult to read (by processing the web2py response output). Perhaps requesting the content with an ajax call when it loads client-side (I am not sure if this is unaccessible for the browser anyway).
On 9 mar, 09:46, Rahul <rahul.dhak...@gmail.com> wrote: > Hi All, > I don't want to allow people to - > > 1. Do "view page source" when they are viewing my site and > 2. Save the page of my site > 3. It would even be good if I was able to remove/disable the default > right click across browsers when the users are viewing my web site > > What is the best way to achieve this in web2py? > > Any suggestions would be greatly appreciated. > > Thanks, Rahul (www.flockbird.com)