You can still screen shot it, copy the URL from the page which opens it into a new browser window with all the toolbars present, select copy and paste the data, or just press CTRL-SHIFT-U to view the source if you're a FireFox user.
I know lots of people are all for disabling the right-click context menu, but remember that a lot of users use this menu to bookmark pages and for other legitimate uses (all uses are legitimate really, that's the way browsers work by design). Generally, secure your data using username / password and terms and conditions, don't allow all the data to be output at once, only allow the data to be requests by pages on your website etc etc. Dan -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rajeev C V Sent: 23 May 2005 10:47 To: [email protected] Subject: RE: [ASP] Hiding Source Code? Dear Samson, If u want to secure your data open that in a new window.while opening you can make your menubar invisible in the opened window so that view source is not possible .for example do like. <html> <head> <script language="javascript"> function openwin1() { window.open('http://www.yahoo.com', 'yahoo', 'width=800,height=600,resizable=no,scrollbars=no,left=70,menubar=no,top= 150'); } </script> </head> <body> <a href="javascript:openwin1()">yahoo.com</a> </body> </html> In the target page (the window which is to be opened) u can make ur mouse rightclick disable by javascript as all mentioned.I think this will give u little bit more security. Regards Rajeev samson <[EMAIL PROTECTED]> wrote: Dear Friends, I Just thank you for all your help. By your writings I have understood that ' I can't hide the source code' . I decided "Simply to Disable Right Click Mouse Option" and then to take care of Users in giving username and password. I decided to put some "Terms & Conditions" strictly.. Thank you again, God bless! ~Samson (ASPbeginner) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed] --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed] --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
