Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 9th, 2007, 01:41 PM
Registered User
 
Join Date: Aug 2007
Location: Dallas, TX, USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default HTML - no View Source

How do I create an HTML page where View Source isn't available.


greenlamar3020@yahoo.com
http://greenlamar.fortunecity.com/index.htm
 
Old August 9th, 2007, 03:19 PM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

That would be REALLY tricky, and it's not even the main problem. If you could disable view source, there are only a small number of people who could get around that... but every single one of them is EXACTLY the person you would wouldn't want to have it. There's not real way to mask your HTML from someone. Server side code you can. It lives on the server and there are defined procedures and best practices to keep things that are important away from people trying to break in. Think of server side code as a painting on your wall at home. There are all kinds of things you can do to make your painting secure in your home and keep someone from stealing or destroying it. An HTML page on the other hand is a painting that you take down to the local outdoor park. Anyone can see and do anything with it. When the server send the HTML page to your visitors browser, you've revealed all that information. Whatever you do to try to hide it, can be broken with a fraction of the effort you put in. If you're concerned about your work being stolen, the typical best practice is to place a copyright statement in the code. Beyond that, it's like trying to bail water with a sieve.



-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Suddenly You Can't View Source in IE? Ganesh HTML Code Clinic 15 September 21st, 2014 05:17 PM
Urgent - Send mail with plain view and html view ashish.dadhwal ASP.NET 2.0 Professional 0 November 27th, 2008 01:49 AM
Grid View with SqlData Source mallikalapati ASP.NET 2.0 Professional 2 February 6th, 2008 08:51 AM
Disable View>Source (disable html source) kazmughal44 HTML Code Clinic 11 December 11th, 2007 11:53 AM
results in view source but not on html page monstermash Classic ASP Basics 25 July 9th, 2007 02:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.