Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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
Reply With Quote
  #2 (permalink)  
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:55 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.