473,804 Members | 3,433 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cant view source

I saw a site that looked pretty good, but I could view the source.

2 questions:

1) how can I do the same for my site
2) any way to get around this?

Mike
Jul 23 '05
15 3019
Martin Jay <ma****@spam-free.org.uk> wrote in
news:R3******** ******@onenet.o rg.uk:
I don't think there is a fool-proof way to hide the page source. After
all, a browser will always need it to render the page.
You are of course correct; a user just has to do the algorithm that the
browser uses, stopping just short of renderence.
Some of the Javascript scripts that encode pages and display them with
document.write( )s are quite clever, and would probably stop most visors
seeing the source.
Most would be stopped by the fact that they're not Web authors and don't
care ;-)

Usually, such can have document.write( "<textarea> "); put up front, and all
the source code becomes revealed. If not, it's because a </textarea> is at
the beginning of the hidden source. Even then, the to-be-document.writte n
string can always just be parsed and have &lt; and &gt; substituted in.
<textarea> also works on blocking ads for some free webhosting services.
Of course not everyone allows their browser to run
Javascript scripts. Do you really need to hide the source, though? I'm
sure most, if not all, of us 'borrow' ideas and tricks from elsewhere.
Shouldn't we be willing to share our knowledge?


I wonder if the following is true:
If one thinks he can hide his HTML source, then his HTML source is not
worth hiding.
Jul 23 '05 #11
"Michael Hill" <hi****@charter .net> wrote:
I saw a site that looked pretty good, but I could view the source.

2 questions:

1) how can I do the same for my site
2) any way to get around this?


Could you be more specific than "I could[n't] view the source"? Do you
mean:

1. You went blind.

2. The source appeared in white letters on a white background.

3. A view-source window came up but it was empty.

4. No view-source window opened.

5. The View Source command on the menu was grayed out.

6. Something else.

A couple of these are ridiculous, certainly, but the point is clear:
you want to ask why something happened, you have to be clear first on
*what happened*. Otherwise people can waste their time answering the
wrong question.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 23 '05 #12
On 11 Sep 2004 01:56:42 GMT, Sam Hughes <hu****@rpi.edu > declared in
comp.infosystem s.www.authoring.html:
I wonder if the following is true:
If one thinks he can hide his HTML source, then his HTML source is not
worth hiding.


Also known as Froggie's Law: If you think you have to hide your source,
it's a sure bet you have nothing worth hiding.
http://www.allmyfaqs.com/faq.pl?Hide_source

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 23 '05 #13
Michael Hill wrote:
I saw a site that looked pretty good, but I could view the source.


Yeah, you can view the source of any web site. Unless you make a
screenshot of your site and publish only that. Then no one will be able
to view your source (however, you also got rid of many benefits of HTML
-- namely, that it can be flexibly interpreted by any client).

--
Google Blogoscoped
http://blog.outer-court.com
Jul 23 '05 #14
On Fri, 10 Sep 2004 11:06:33 -0500, Michael Hill <hi****@charter .net>
wrote:
I saw a site that looked pretty good, but I could view the source.


You know, this sentence does make sense.

I've wandered into sites that looked OK, and then I viewed the source and
saw it was held together with duct tape and wax, and I was lucky to get
there with the right browser at the right size...

If only the author could have hidden that source! I would have been a
happier man.
Jul 23 '05 #15
JRS: In article <Xn************ **************@ 130.133.1.4>, dated Sat,
11 Sep 2004 01:56:42, seen in news:comp.infos ystems.www.authoring.html,
Sam Hughes <hu****@rpi.edu > posted :

I wonder if the following is true:
If one thinks he can hide his HTML source, then his HTML source is not
worth hiding.


If one thinks he can hide his HTML source, then his HTML source needs to
be hidden, lest anyone else is naive enough to copy it.

Ask any policeman : much of what is hidden is hidden to prevent
incrimination rather than theft.

--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demo n.co.uk/> - FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)
Jul 23 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7213
by: Pete Wason | last post by:
Hiall! I have a demo viewer page for javascript stuff that has three buttons "DEMO" "HTML" and "JSCR", and an IFRAME called 'viewer'. Initially, the IFRAME gets loaded with the actual demo page, ie., viewer.location = dName + '.html'; where dName is the filename of the demo without extension.
4
1745
by: pmud | last post by:
Hi I have a website (ASP.NET project using C# ) which is already put up on the server. I need to make some modification to some web pages.So the project files were copied to the a different server where I could modify tha pages. But when I open the .aspx pages with Visual studio.net, then I just see the HTML code & no design view of the page. How should I edit the page when in Visual Studio I cant see the design view. Just in case...
7
2847
by: Lian | last post by:
Hi every body I have a problem with accesses and visual studio. I've just installed XP and I can't get a connection with the Data base. I have this error and I don't know how to fix it The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\Manufactor\DBManufactor\dbmanufactor.mdb'. It is already opened exclusively by another user, or you need permission to view its data. Description: An unhandled exception occurred...
2
1153
by: ron | last post by:
Hi, can any one help me out with viewing the html of web pages. I go to view and source and nothing happens. Some setting in the depths of windows xp i suspect. I am trying to learn html so this would help me along big time. please send a novice type responce. many thanks in advance
6
1268
by: Klaas | last post by:
I want the backgrond of my whole page in gradient. In the source tab I have: <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> </head>
4
1799
by: Beemer Biker | last post by:
I am adding at bindtime an htmlbutton and an html dropdownlist. The idea is to select the item in the list, hit the button and my callback code uses the ID.selectedindex to act on the item that was selected. I tested it all out by dropping a button and a DDL on a form. Worked ok. Then I wrote the code that automatically added the the button and the DDL to a templated column. The button callback works just fine, but...
1
5141
by: mike11d11 | last post by:
I'm doing a simple TableAdapter.Fill filling my datatable from a view within a SQL database. for some reason it is timing out after 30 seconds and I cant seem to find out where in vb.net 2005 I can go to change the timeout setting for this. when i go to my project, then my settings tab i set the connection timeout for 120, but it doesn't seem to affect the timeout for filling my datatable. Code used to fill datatable:...
0
1347
by: rhyes | last post by:
Hi All, I cant seem to submit post and view the post in the example provided by thescripts there is no error and I manage to connect to the database. the link is below: http://www.thescripts.com/serversidescripting/php/tutorials/discussionforumswithphp/index.html I have make changes in the sql database name , username , password and the table name. And I 'm using PHP 5 and Mysql. I not sure is there any other changes need to be make in...
1
1270
by: geeteshss | last post by:
unable to view data in datagrid -------------------------------------------------------------------------------- the present problem is that i am unable to display data in datagrid....... but the data is visible in database..below is the code what should i do...earlier i could view it also below this code is the code which is in my html page plz help........ private void Page_Load(object sender, System.EventArgs e) { ...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10330
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9144
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7616
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6851
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4297
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3816
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.