I have a Seaside question...
In general, when you visit a webpage, you can right-click on the background, select "View Page Source" and see the html for that webpage. However, I've noticed that on some websites, you can't do that. Somehow, they prevent you from right-clicking on the background. I've discovered a need to do this for my Seaside app. I need to prevent users from right-clicking on a particular webpage to view the page source. So my question is, does Seaside provide a way to do this? This might be an html question rather than a Seaside question, I don't know. I'm no expert on html. Thanks. Regards, Richard _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Richard,
you may find some Javascripts that catch the right click, but they only prevent noobs from viewing your source. In most browsers you can disable such skripts, have a look into the browser's cache or use the menu to view the code. So forget about it, there is no way to secure your html source except not publishing it. regards, David _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2008/1/24, David Tibbe <[hidden email]>:
> Hi Richard, > > you may find some Javascripts that catch the right click, but they only > prevent noobs from viewing your source. In most browsers you can disable > such skripts, have a look into the browser's cache or use the menu to > view the code. Our you can just download the website with curl, wget, telnet .... Cheers Philippe > So forget about it, there is no way to secure your html source except > not publishing it. > > regards, > David > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Richard Eng
..., Firebug, Charles, etc. Also, don't forget that right click menu includes useful items like copy and print, so denying right click to an average user will only annoy them and won't stop a more advanced user from viewing the source anyway. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |