How to disable "view source" in Internet Explorer

G

Guest

Is it possible to prevent someone from viewing/copying your html source in
their browser -- at least from the casual surfer? I know it can't be
prevented from anyone who is determined.
 
S

Steve Easton

No.
However, why do want to do this, html is html !!


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
T

Thomas A. Rowe

No.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
T

Tom Pepper Willett

Asked and answered countless times in this newsgroup ;-)

The answer is still "no".

--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
FrontPage 2002 Server Extensions Support Center:
http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
===
| Is it possible to prevent someone from viewing/copying your html source in
| their browser -- at least from the casual surfer? I know it can't be
| prevented from anyone who is determined.
 
K

Kevin Spencer

Hint: Before asking a question, you may find the answer by simply reading
the posts already there. It would save you and the rest of us time as well!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
J

Jens Peter Karlsen[FP MVP]

No.
Why would you want to hide it from the "casual surfer" anyway? Even if
they by accident came to look at the source they wouldn't know what to
do with it.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
K

Kathleen Anderson [MVP - FrontPage]

I can view the source and copy and paste it:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Skipper W Quarter Paint Horses for Sale Conclusive Homozygous
Stallions Texas </title>
<meta name="description" content="Halter bred Skipper W Impressive
Conclusive quarter and paint horses for sale in Texas">
<meta name="keywords" content="quarter, paint, sell, sale, Texas, Lookout
Valley, ranch, farm, mares, colts, filly, fillies,
geldings, stallions, AQHA, APHA">
<meta name="owner" content="(e-mail address removed)">
<meta name="author" content="www.apluswebdesigners.com">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="content-languare" content="english">
<meta http-equiv="vw96.object-type" content="document">
<meta name="rating" content="general">
<meta name="robots" content="index,follow">
<meta name="revisit-after" content="4 weeks">
<meta name="copyright" content="">
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">

<link rel="stylesheet" href="lvr.css" type="text/css">

<style type="text/css">
body
{
scrollbar-3d-light-color:#000000;
scrollbar-arrow-color:#68481A;
scrollbar-base-color:#946723;
scrollbar-dark-shadow-color:#936624;
scrollbar-face-color:#ECD0AA;
scrollbar-highlight-color:#F8EEE0;
scrollbar-track-color:#EBD0A9;
scrollbar-shadow-color:#68481A;
}
</style>

<script type="text/javascript" language="JavaScript"
src="lvrnc.js"></script>

</head>


--

~ Kathleen Anderson
Microsoft FrontPage MVP
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/
 
T

Thomas A. Rowe

Here is the part of the source, using IE6, View Source:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Skipper W Quarter Paint Horses for Sale Conclusive Homozygous Stallions Texas </title>
<meta name="description" content="Halter bred Skipper W Impressive Conclusive quarter and paint
horses for sale in Texas">
<meta name="keywords" content="quarter, paint, sell, sale, Texas, Lookout Valley, ranch, farm,
mares, colts, filly, fillies,
geldings, stallions, AQHA, APHA">

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
J

Jim Cheshire \(JIMCO\)

ranch-cutter said:
Check out this site. www.lookoutvalleyranch.com. Don't know what
program was used to design site, but you can't view the source on it.

Go that site and click on View, Source in your browser. Bingo!

Think about what is desired here. You open FrontPage and create a table by
going to Insert, Table. Now you want to keep anyone else from seeing how
you did that when all they have to do is choose Insert, Table and they get
the same thing!

The point is that HTML is not source code. It is simply markup. There is
nothing proprietary about it.

--
Jim Cheshire
JIMCO
Charity-ware Add-ins for FrontPage
http://www.jimcoaddins.com

Pop-up generator Spawn 1.6 now available!
All pop-ups work with Windows XP SP2

Author of Special Edition Using Microsoft Office FrontPage 2003
 
G

Guest

Every time I try I get a message saying "Sorry Graphics Design/Copyright
Lookout Valley Ranch and A+ Web Designers: Function Disabled!"
 
J

Jim Cheshire \(JIMCO\)

ranch-cutter said:
Every time I try I get a message saying "Sorry Graphics
Design/Copyright Lookout Valley Ranch and A+ Web Designers: Function
Disabled!"

Therein is the proof that such tactics do dissuade the casual surfer.
However, if you click the View menu and choose Source, you will see the
source of the page.

--
Jim Cheshire
JIMCO
Charity-ware Add-ins for FrontPage
http://www.jimcoaddins.com

Pop-up generator Spawn 1.6 now available!
All pop-ups work with Windows XP SP2

Author of Special Edition Using Microsoft Office FrontPage 2003
 
W

Wes

Try View menu / Source

ranch-cutter said:
Every time I try I get a message saying "Sorry Graphics Design/Copyright
Lookout Valley Ranch and A+ Web Designers: Function Disabled!"
 
J

Jim Cheshire \(JIMCO\)

ranch-cutter said:
It's amazing what all one can learn from here! Thanks.

It's quite amazing that one can learn so much and yet know almost nothing at
all! :) The Internet is so vast that no one can possibly understand it
all, but it's sure fun trying.

--
Jim Cheshire
JIMCO
Charity-ware Add-ins for FrontPage
http://www.jimcoaddins.com

Pop-up generator Spawn 1.6 now available!
All pop-ups work with Windows XP SP2

Author of Special Edition Using Microsoft Office FrontPage 2003
 
M

Mike Hanby

I know that most everyone has said NO to your question.
Here's a different perspective.
A) As you've seen from that horse page, you can do something simple like
prevent RIGHT MOUSE CLICKs to help disuade someone from viewing your
source. As you've also seen, it won't prevent anyone beyond the novice
user.
B) You can use something like PHP to create your pages. The source code
in the PHP file get's stripped out by the HTTP server before it gets
sent to the persons browser. All they are left with is the HTML (markup
text).

Not sure if B) is really what you are trying to accomplish, but, if so,
there you have it :)

Doug VanOrnum said the following on 01/18/2005 10:11:
 
T

Thomas A. Rowe

Note: When using any server side script, if you create a link to a page and forget to include the
file extension, users of Windows XP SP2 and recent security updates to Outlook Express, will be able
to see the complete source of the page.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top