Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-13-2002, 04:32 PM   #1
Member (7 bit)
 
Join Date: Mar 2002
Location: The Netherlands
Posts: 91
Send a message via ICQ to Johan Gielen
Exclamation Disabling the source

Is there any script to disable the source of your website ?
Johan Gielen is offline   Reply With Quote
Old 04-13-2002, 05:01 PM   #2
Member (8 bit)
 
Gnerma's Avatar
 
Join Date: Jan 2002
Location: Bakersfield, CA
Posts: 246
Send a message via ICQ to Gnerma Send a message via AIM to Gnerma Send a message via Yahoo to Gnerma
No, that is not possible.
Gnerma is offline   Reply With Quote
Old 04-13-2002, 05:20 PM   #3
Member (7 bit)
 
Join Date: Mar 2002
Location: The Netherlands
Posts: 91
Send a message via ICQ to Johan Gielen
I thought it was... at some sites, it is just impossible to see the source - or if you can see it it's encoded ! -
Johan Gielen is offline   Reply With Quote
Old 04-13-2002, 05:26 PM   #4
Member (8 bit)
 
Gnerma's Avatar
 
Join Date: Jan 2002
Location: Bakersfield, CA
Posts: 246
Send a message via ICQ to Gnerma Send a message via AIM to Gnerma Send a message via Yahoo to Gnerma
Show me the sites..

There is a way to 'encode' the html by using character codes, but that will quadruple the size of your source. That is a MUCH bigger problem than someone looking at your source code.

Think about it this way, the source code IS the web page. The users browser needs to have the code to show the web page. So its viewable by the user.

Your not writing any code that anybody else couldn't write themselves, so don't even worry about it.
Gnerma is offline   Reply With Quote
Old 04-13-2002, 05:30 PM   #5
Member (7 bit)
 
Join Date: Mar 2002
Location: The Netherlands
Posts: 91
Send a message via ICQ to Johan Gielen
http://www.ashadebelow.org for example is fully encoded ! Try to look at the source, the begin is understandable, but once the JavaScript begins, you can't see what it says !
Johan Gielen is offline   Reply With Quote
Old 04-14-2002, 12:11 AM   #6
Member (8 bit)
 
Gnerma's Avatar
 
Join Date: Jan 2002
Location: Bakersfield, CA
Posts: 246
Send a message via ICQ to Gnerma Send a message via AIM to Gnerma Send a message via Yahoo to Gnerma
Hmm I don't know what to tell you. But just looking at the page he is not using any kind of complex code. What's the big deal?
Gnerma is offline   Reply With Quote
Old 04-14-2002, 01:21 AM   #7
Member (5 bit)
 
Join Date: Apr 2002
Location: In my apartment
Posts: 31
It sucks when u have people copying your pages. Well at the moment I believe u can only encrypt your pages and not fully dissable the "view source". I've seen some websites where the "view source" is inactive - cant remember the URL though.

In the mean time, try this site:
http://www.dynamicdrive.com/dynamicindex9/encrypter.htm

__________
[ Morpheus ]
Morpheus is offline   Reply With Quote
Old 04-14-2002, 03:09 AM   #8
Member (5 bit)
 
Join Date: Apr 2002
Location: Tampa
Posts: 19
THIS IS YOUR ANSWER......

Nothing really can be encoded from users untill browsers don't enable users to view the source, what that site did is use JavaScript to hide its code from the intitial eye, BUT the js files are linked to the html code that is there....in the js files the developer uses a series of document.write commands to write the html code into the site, but I was able to get the code within seconds, take a look at the site again, hit view source and scoll down to the 7th line and over till you see the script tags for JavaScript, then take that js file name and put it at the end of the url, and boom you have the code, sorry to say that what your asking is not possible........the only languages that you can do that with is PHP, CGI, and ASP to name a few, but your still not able to hide the JAvaScript or the HTML, only that language.....
zollodav is offline   Reply With Quote
Old 04-14-2002, 03:12 AM   #9
Member (8 bit)
 
Gnerma's Avatar
 
Join Date: Jan 2002
Location: Bakersfield, CA
Posts: 246
Send a message via ICQ to Gnerma Send a message via AIM to Gnerma Send a message via Yahoo to Gnerma
As zollodav says, you may find ways to pseudo-encode your pages but anyone who knows how can figure it out.
Gnerma is offline   Reply With Quote
Old 04-14-2002, 04:01 AM   #10
Member (5 bit)
 
Join Date: Apr 2002
Location: Tampa
Posts: 19
Even if you come up with a script to disable the "View Source" all you have to do is "Save" the Webpage, open as text file, find the script tags for the JavaScript source, get the js file name, go to the website, punch in the js file name at the end of the url, download the js file, open it, and boom, you have your code...sorry man, no way to totally hide it....
zollodav is offline   Reply With Quote
Old 04-14-2002, 04:55 AM   #11
Member (7 bit)
 
Join Date: Mar 2002
Location: The Netherlands
Posts: 91
Send a message via ICQ to Johan Gielen
Quote:
Originally posted by Morpheus
In the mean time, try this site:
http://www.dynamicdrive.com/dynamicindex9/encrypter.htm

__________
[ Morpheus ]
Thanks, it seems helpful !
Johan Gielen is offline   Reply With Quote
Old 04-14-2002, 05:33 AM   #12
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
FYI, usually when the View Source is greyed out on the view menu, it means that your TIF cache is full. Clear the cache or close the browser window and voila there is the view source back.

To me, it is pretty silly as to why you would want to disable the source code. There really is nothing there but HTML. If there were valuable data in the source code then maybe it would be appropiate. It might keep someone from copying your design but who cares about that.
mairving is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:12 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2