473,554 Members | 5,395 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Make source unreadable

How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank. I
then saved the file and got a message saying something about will not
save properly but i saved it anyways. when i went to pull it up it
was blank. i would like to do that to my site if possible!! could dy
ecplain to me how it was done?

TIA
Mike B
Jul 16 '05 #1
12 7124
> How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank. I
then saved the file and got a message saying something about will not
save properly but i saved it anyways. when i went to pull it up it
was blank. i would like to do that to my site if possible!! could dy
ecplain to me how it was done?


Not sure what that site you mention did, but theres certainly no easy and
reliable way to do it. The site source has to be visible otherwise the
browser could never load it - if the browser can read it it is always going
to be possible for a human to in some way or another (unless its Flash or a
Java applet or something similar).
You can make it more difficult just by writing the pages in a form that is
difficult for a human to read (ie no line breaks, no spaces where they
aren't needed, etc). They can easily get to it, but if its a big page and
all someone sees is a solid block of code then it can be off putting.
In my opinion though, you're wasting your time!

David
Jul 16 '05 #2
I'm guessing here, but I "believe" that people are putting javascript that
intercepts some of the IE commands. I know this is done to prevent saving
images and I'm guessing it can be done to prevent saving pages as well.
Anyone care to comment on this?

Jerry

"Mike B" <me***********@ yahoo.com> wrote in message
news:70******** *************** ***@posting.goo gle.com...
How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank. I
then saved the file and got a message saying something about will not
save properly but i saved it anyways. when i went to pull it up it
was blank. i would like to do that to my site if possible!! could dy
ecplain to me how it was done?

TIA
Mike B

Jul 16 '05 #3


Mike B wrote:

How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank. I
then saved the file and got a message saying something about will not
save properly but i saved it anyways. when i went to pull it up it
was blank. i would like to do that to my site if possible!! could dy
ecplain to me how it was done?


URL?

Brian Rodenborn
Jul 16 '05 #4
In article <70************ **************@ posting.google. com>,
me***********@y ahoo.com (Mike B) wrote:
How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank.


Not possible. Scroll down. All the way down. Some authors try to make
their source look "blank" by inserting a bunch of whitespace before the
markup. But it's not possible for your web browser to render what it can't
see. At a minimum, there's a line or two--though it's possible that it's
merely enough to call some other <img> , <object>, <script>, or <frame>.

--
CC
Jul 16 '05 #5

"JerryH" <no****@nowhere .com> wrote in message
news:yS******** ************@tw ister.austin.rr .com...
I'm guessing here, but I "believe" that people are putting javascript that
intercepts some of the IE commands. I know this is done to prevent saving
images and I'm guessing it can be done to prevent saving pages as well.
Anyone care to comment on this?

Jerry


Seen a few pages around that "try"to hide their HTML source by generating a
dialoge box that says not allowed on right click.

Is this what you are talking about ?

If so, it is still simple to circemvent. - simply go looking for the
temporary internet files on your hard drive, move them to a suitable folder
and open them with your favourite text editor. Se, not real hard was it ?

In reality, if it is html and it displays in the browser, you only slow down
someone from actually looking at the source and images within your page.
Bob in Aus



"Mike B" <me***********@ yahoo.com> wrote in message
news:70******** *************** ***@posting.goo gle.com...
How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank. I
then saved the file and got a message saying something about will not
save properly but i saved it anyways. when i went to pull it up it
was blank. i would like to do that to my site if possible!! could dy
ecplain to me how it was done?

TIA
Mike B


Jul 16 '05 #6
Thew website is Salesforce.com. I justed wanted to use their states
list information so I wouldn't have to type it in. I have a feeling
the person who said that java applets code couldn't be saved answered
my question of how they hid it. the page tag does say .jsp. Thanks
for everyones responses.

Mike B
Jul 16 '05 #7
> Thew website is Salesforce.com. I justed wanted to use their states
list information so I wouldn't have to type it in. I have a feeling
the person who said that java applets code couldn't be saved answered
my question of how they hid it. the page tag does say .jsp. Thanks
for everyones responses.


Can't find the bit with US states, but a similar list of all the countries
could be similar to what you are talking about. I looked at the source, and
it does appear blank, but you can scroll down and the code is all there,
with the dropdown items listed in <option></option> tags. I can't see any
java applets used for the dropdowns, and the .jsp is just an alternative
extension to indicate that javascript is used.
Hope that helps - just scroll down and it should be there, or if its not
provide the exact link to the page you are talking about and i'll have
another look.

David
Jul 16 '05 #8
me***********@y ahoo.com (Mike B) wrote in message news:<70******* *************** ***@posting.goo gle.com>...
Thew website is Salesforce.com. I justed wanted to use their states
list information so I wouldn't have to type it in. I have a feeling
the person who said that java applets code couldn't be saved answered
my question of how they hid it. the page tag does say .jsp. Thanks
for everyones responses.


A .JSP page is a Java Server Page, another server side scripting
solution similar to PHP. The JSP code creates the HTML that is sent to
the browser. Note that JavaScript and Java are two unrelated languages
that confusingly share similar names.

You can protect HTML pages from most people by using JavaScript
encryption routines. If you Google for HTML Encrypt you'll find a few
that popup.

However, protecting HTML is unfair in my opinion. We have all honed
our skills by examining the source of other people's pages and
learning from them. I don't protect my HTML as it feels hypocritical
to steal from others but not allow others to steal from me. HTML has
limited commercial value to the author so why do it.

Paul
Jul 16 '05 #9
Mike B wrote:
Thew website is Salesforce.com. I justed wanted to use their states
list information so I wouldn't have to type it in. I have a feeling
the person who said that java applets code couldn't be saved answered
my question of how they hid it. the page tag does say .jsp. Thanks
for everyones responses.

Mike B


Hmm... I can view the source just fine in Mozilla, using both
View->Page Source and right-click. There's a few lines of whitespace at
the top, but not enough to push the code down a pull page...

~ Ryan

Jul 16 '05 #10

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

Similar topics

9
3784
by: toufik toufik | last post by:
Hi, Is it possible to hide a source code PHP in order to protect it, I mean, I'm developpind a web solution for customers and I don't like that the customer or the host see my code. Thanks.
5
1348
by: nnes | last post by:
For those that like to read source code, or just wondered how a C programmer would use Python I post some code written by a friend which I pestered to at least try Python out. He did not seem too impressed after the exercise, but said it was not that painfull :-). It might be of interest to those wondering how python is being used and...
5
3806
by: Mike M | last post by:
Hi all, Attempting to do css for cross platform/browser compatibility. Have an issue with IE6 sp1 running on NT4. When using IE6 sp1, example 1 works fine, example 2 produces unreadable text. Rectangular blocks and symbols. Is this unreadable serif font deal a known bug? Any suggestions appreciated. Thanks,
354
15556
by: Montrose... | last post by:
After working in c# for a year, the only conclusion I can come to is that I wish I knew c. All I need is Linux, the gnu c compiler and I can do anything. Web services are just open sockets hooked up to interfaces. The Gtk is more than enough gui.
18
2531
by: Lorem Ipsum | last post by:
interesting! I just found a page in which Explorer's View Source does nothing! How did they do that?
3
1757
by: Trishia Rose | last post by:
God dang it all, i am so sick of programmers who feel compelled that every single time they use an int variable, they give it some brand new name! for example they would take an innocent function like int multiply_by_2( int argument ) and change it to multiply_by_2_return_t multiply_by_2( multiply_by_2_argument_t argument )
1
2518
by: Ellixis | last post by:
I have been looking at "sh" source code and have found this strange thing: /**** syntax.c ****/ #define ndx(ch) (ch + 1 - CHAR_MIN) #define set(ch, val) = val, #define set_range(s, e, val) = val, /* character classification table */ const char is_type = { 0,
3
1067
by: Won Lee | last post by:
I made my own from which is similiar to a MsgBox but allows for positioning on the screen. If I call the class from a button event it works fine. The form, however, becomes unreadable if I call it from an event handler that I attach to a datastream. Anybody know why?
5
5813
by: barbara_dave | last post by:
Hi, all, I'd like to know if there a way to make the text file unreadable. I want the user to read file only in my program, but not allow to read files from outside of my program. How to do that? Thanks a lot!
0
7581
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7506
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...
0
7782
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7541
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5423
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...
0
3545
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...
0
3533
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1114
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
823
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.