Hii have developed a web page.i want to restrict the user from seeing my html code from web browser how do i do that?????

Showing Answers 1 - 10 of 10 Answers

buntyindia

  • Nov 28th, 2005
 

It is not possible to restrict any user for seeing your HTML Code .

It is only possible when u Encrypt your coding using third party tools.

This will show user encrypted page.

  Was this answer useful?  Yes

Soori

  • Nov 30th, 2005
 

we can disable right click to prevent source code by thisoncontextmenu="return false;" in body tag

  Was this answer useful?  Yes

Amarnath

  • Dec 13th, 2005
 

we can disable right click to prevent source code by using oncontextmenu="return false;" in body tag ,

I am not able to prevent right click by using thisoncontextmenu="return false;"

  Was this answer useful?  Yes

ranganth

  • Jan 7th, 2006
 

This works fine in IE only but You can't restrict in other browsers which doesn't support javascript . In mozilla it is fine

  Was this answer useful?  Yes

Balaji

  • Jan 28th, 2006
 

Though you disable right click, we can view the source using the view menu in internet explorer, then what is the use of hiding the right click menu??????

Regards,

Balaji Prasad D.

  Was this answer useful?  Yes

Siva Kotipalli

  • Jul 26th, 2006
 

We can disable the Tool bar using Javascript. When we disable the tool bar and the right click then we can prevent users from viewing the code. But this only works in the browsers that support javascript.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions