You can hide the source code of an HTML page

Last update on November 19, 2009 09:16 AM by jak58
Published by deri58

[Myth]You can hide the source code of a HTML page







Myth


You can hide the source code of an HTML page.

Reality


FALSE.

Explanations


To view a web page (HTML), the browser must - at a time when another - have the HTML code.
There is always way to recover it.
  • The most common solutions to prevent access to the source are:
  • The prohibition of right-click and save it (which is easily bypassed in Firefox by unchecking the corresponding JavaScript in the configuration)
  • The use of multiple frames or iframes to hide the real URLs of pages (the screen "Page Info" in Firefox will show the related URLs).
  • Encryption of the page (including a bit of Javascript, which decrypts the page). Is easily bypassed by using the inspector Firefox code that accesses the HTML code after execution.

Notes


Thanks to Sebsauvage for this tip
Best answers for « You can hide the source code of an HTML page » in :
Download Source Code Spell Checker Show Source Code Spell Checker is a program that offers to check your lines of code, highlight the errors and to report errors detected. You save valuable time by limiting the reading tedious programming codes. Advantage Via the context menu, you can...
Viewing the source code of message in thunderbird Show Viewing the source code of message in thunderbird To see all the headers of a message for you, it is possible with Mozilla Thunderbird to view the source code of a message by displaying the message, then go to the View menu and selecting...
How to easily display PHP/HTML codes in your webpages Show How to easily display PHP/HTML codes in your webpages Issue What code to use? Issue If you want your visitors to be able to see the source codes of your webpage, there is a very easy way to do so. Normally, all you have to do in a...
[HTML pages] How to download a Web site? Show[HTML pages] How to download a Web site? HTTrack is an excellent downloader, free GNU GPL (free). HTTrack allows you to download a website from the Internet to your hard drive, building recursively all directories, recovering html,...
Restrict Right click of mouse ShowRestrict Right click of mouse On your website, for protection of source code and photos, it is possible to restrict visitor from right click on your web page. Place this script between the tags and of your HTML...
Remove the border on an image in a link in HTML / CSS ShowRemove the border on an image in a link in HTML/CSS HTML You made a clickable image by using the IMG tag within a link and the browser displays a frame or more precisely a border around the image. There are two ways...
Download Codejay - Code Generator ShowCodejay - Code Generator allows you to administer the database of a website. It also allows to create reports for the website and produce several types of source codes: ASP, ASP.NET, COLDFUSION and PHP without writing a single line of code. Codejay...
HTML Markup ShowHTML, A Markup Language HTML is not a programming language. Rather, it is used for describing the layout and format of content, written in the form of simple text. An HTML page is a basic text file containing tags for specifying text format,...
Managing images in HTML ShowHow do you display images on a web page? Having a few images on a website can make it more attractive and user-friendly. However, it is important not to go overboard, since images can take a long time to load, and in some cases can make a document...
HTML document layout ShowHTML document An HTML page is a simple file containing text formatted with HTML tags. Traditionally, the file is given an .htm or .html extension, but a web page may have other extensions as well. A web page can be built from even the most basic...