View Page Source

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

View Page Source

Richard Eng
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
Reply | Threaded
Open this post in threaded view
|

Re: View Page Source

David Tibbe
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
Reply | Threaded
Open this post in threaded view
|

Re: View Page Source

Philippe Marschall
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
Reply | Threaded
Open this post in threaded view
|

Re: View Page Source

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Richard Eng
Re: [Seaside] View Page Source

..., 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.


Cheers!

-Boris (via BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: Seaside - general discussion <[hidden email]>
Sent: Thu Jan 24 07:15:20 2008
Subject: Re: [Seaside] View Page Source

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


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside