<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Web Developer 2005 Express</title><link>http://forums.asp.net/175.aspx</link><description>General discussions about Visual Web Developer 2005 Express Edition</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Disable View Source Option</title><link>http://forums.asp.net/thread/907988.aspx</link><pubDate>Wed, 27 Apr 2005 04:27:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:907988</guid><dc:creator>Mikhail Arkhipov (MSFT)</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/907988.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=907988</wfw:commentRss><description>I am not really a hacker but it is really simple to get around that right-click protection.&lt;br /&gt;&lt;br /&gt;1. Switch off Javascript in the browser.&lt;br /&gt;2. Use Edit button on the IE toolbar and open page in Notepad and access images directly via URL.&lt;br /&gt;3. Save page to disk and inspect file in Notepad.&lt;br /&gt;4. Use different browser.&lt;br /&gt;5. In FireFox use DOM inspector and get URL from there.&lt;br /&gt;&lt;br /&gt;There is probably more...&lt;br /&gt;</description></item><item><title>Re: Disable View Source Option</title><link>http://forums.asp.net/thread/907749.aspx</link><pubDate>Tue, 26 Apr 2005 22:00:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:907749</guid><dc:creator>bleroy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/907749.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=907749</wfw:commentRss><description>&lt;P&gt;That's not exactly an ASP.NET question, but I'll try to answer. First, you have to know that there is no way you can absolutely protect the source of your page. Any determined hacker will be able to get to it no matter what you do. If the browser can access it to render it, anyone can do it.&lt;/P&gt;
&lt;P&gt;To disable the right click button, you just need to handle the onmousedown event:&lt;/P&gt;
&lt;P&gt;&amp;lt;body onmousedown="if((event.button|2)!=0){alert('Right button disabled');}"&amp;gt;&lt;/P&gt;</description></item><item><title>Re: Disable View Source Option</title><link>http://forums.asp.net/thread/907740.aspx</link><pubDate>Tue, 26 Apr 2005 21:54:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:907740</guid><dc:creator>greebler</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/907740.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=907740</wfw:commentRss><description>&lt;P&gt;You cannot disable the View Source menu item in the browser using HTML/script.&amp;nbsp; You might want to investigate encrypting the source so when a users does see it, all they see are garbage characters.&amp;nbsp; A google search for "view source" and encrypt should get you started.&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;</description></item><item><title>Disable View Source Option</title><link>http://forums.asp.net/thread/906443.aspx</link><pubDate>Tue, 26 Apr 2005 01:38:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:906443</guid><dc:creator>haroonwangde</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/906443.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=906443</wfw:commentRss><description>&lt;P&gt;I would like to disable View Source Option from the Menu. I am able to disable the Right Click Menu option on the Page.&lt;/P&gt;</description></item></channel></rss>