Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Web Development
Expertise: Beginner
Mar 11, 1997



Application Security Testing: An Integral Part of DevOps

Is there a way to disable the View Source menu option in a Web browser?

Is there a way to disable the View Source menu option in the Netscape browser so that when someone tries to look at the document source they can't see it?

No, not that I know of. The HTTP protocol was designed for information sharing, so it cannot be done at the HTTP level. All browsers have this feature built into them; the only way around it is to design your own Web browser and leave out this option. But you'll be hard-pressed to find anyone who would want a browser that didn't allow them to the view the source code on pages that interest them.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date