up vote 0 down vote favorite For some reasons, I have to disable view source for my html. Permalink Posted 14-Mar-12 0:12am perilbrain5.5K Rate this: Please Sign up or sign in to vote. Would you like to answer one of these unanswered questions instead? share|improve this answer answered Jul 11 '12 at 7:52 Oleg V.
Type that link into the browser and it asks you to save it. by mohan. But i would like to achieve it programatically using scripts, applets or whatever. Hide Html Source Code Using Php I don't want anyone who view the source and paste it into an editor and change the data and reprint it.
Sci-fi book about people living in a giant bubble in space If the co-signer on my car loan dies, can the family take the car from me like they're threatening to? Hide Source Code Of A Web Page Solution 2 Accept Solution Reject Solution As mentioned by Shivapragasam, it's not worth doing this - you can always use web developer tools such as firebug to view everything you want about a What's the fastest way to generate a 1 GB file containing only random numbers? Now you can right-click all you want.
If you want to disable view source from a browser menu, you will have to force open a new window with menubar/toolbar disabled.
How do I get the last lines of dust into the dustpan? You could try using a frameset which only includes a single frame that has the source as your page then when the user clicks on the View/Source option they would only There were some third party tools (Html Guardian ) to encrypt html and use them. How To Disable View Page Source In Php oncontextmenu="return false" onselectstart="return false" ondragstart="return false" 0 p2pcast 3 Years Ago Thanks a lot Quasimodo8.
You can attempt to circumvent unknowledgeable users from seeing the source, but it won't stop anyone who understands how to use menu's or shortcut keys. It's a mechanism that companies like to try to use to control how people can connect to their services, use their content and in general, try to exert control over their But as per your need you can do the following: 1. They fooled you.
Hard data on students' reasons for being students "Here you are & Here you go" What will you bring for Thanksgiving? This is an issue that larger companies deal with often. machine learning Head, Shoulders, Knees and Toes, Knees and Toes Should I have doubts if the organizers of a workshop ask me to sign a behavior agreement upfront? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
I'm not saying hiding content is a good idea (it's up to the owner what he wants) I'm just saying it works. –Karoly Horvath Jul 12 '11 at 20:55 add a Forbidden.You don't have permission to view this page.https://www.quora.comPlease email [email protected] if you believe this is an error. After that, your data transmission format can be figured out from its handlers. Is there a mean-value theorem for volume integrals?
Let's work to help developers, not make them feel stupid. Volkov 13.9k22748 add a comment| up vote 0 down vote There is a small possibility to use some Asynchronous Model Definition (AMD) libraries like CommonJS, RequireJS, where You define and import Isn't there Any Hope? Others, like FireFox, include tools like the DOM Inspector, which allows you to easily view and copy the XML of the page, decrypted.
No matter what you do, you can't prevent users from having full access to every bit of data on your website.