Hi,
U can user Java script to restrict it as:

if (document.all)
document.body.onmousedown=new Function("if
(event.button==2||event.button==3)alert('� Copyright by ");


Hamid Hassan
Software Engineer

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Padmakar Neelapareddy
Sent: Friday, April 27, 2001 11:14 AM
To: [EMAIL PROTECTED]
Subject: How to hide a user from seeing source code of web page...


Dear All,

I wanna know if there is any way to restrict the user from seeing source
code of web page
(i.e by right clicking on page).I.e whenever he gives rigth click on page he
shouldn't see the
pop-up menu usually comes,instead he should be warned with a message/alert
pop-up window
mentioning deneid message.

If anybody knows the procedure ,please let me know...(***preferably with
appropriate code****)

Thanx in advance...

Rgds
padmakar neelapareddy.




The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to