473,399 Members | 3,302 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

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 7117
> 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.google.c om...
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***********@yahoo.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********************@twister.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.google.c om...
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***********@yahoo.com (Mike B) wrote in message news:<70*************************@posting.google.c om>...
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
> 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.


Oops - just realised that jsp indicated another server-side language is
used, not because of javascript.
Sorry for the confusion

David
Jul 16 '05 #11
Mike B wrote:
How do you make it source your source code is unreadable?


Why would you do that anyway ?

Bruno

Jul 16 '05 #12
pa*************@hotmail.com (Paul Liversidge) writes:
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.


Though they won't stop anyone actually determined to get at the
source, who can just modify the encryption routine slightly (for that
matter, I think there's a few browsers that will parse the JS before
displaying source), and will stop most if not all search engines as
well as users without Javascript.

--
Chris
Jul 16 '05 #13

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

Similar topics

9
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
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...
5
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....
354
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...
18
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
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...
1
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) =...
3
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...
5
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
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...
0
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,...

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.