hide html code on my website

Reply

Join Date: Mar 2007
Posts: 4
Reputation: daabomb2002 is an unknown quantity at this point 
Solved Threads: 0
daabomb2002 daabomb2002 is offline Offline
Newbie Poster

hide html code on my website

 
0
  #1
Apr 19th, 2007
How can i hide my html code on my website? when browsing to it using IE,i can click on View source and see all my html code.
Is there anything i can install on my server to hide my site's html code?

Thanks
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 70
Reputation: jamshid is an unknown quantity at this point 
Solved Threads: 0
jamshid's Avatar
jamshid jamshid is offline Offline
Junior Poster in Training

Re: hide html code on my website

 
0
  #2
Apr 19th, 2007
I am not sure but i think there are some Code encrypting programs. If you can find one, i am sure you will do what you want.
Impossible is Nothing
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 1,091
Reputation: MattEvans is a jewel in the rough MattEvans is a jewel in the rough MattEvans is a jewel in the rough 
Solved Threads: 63
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Veteran Poster

Re: hide html code on my website

 
0
  #3
Apr 19th, 2007
In a word; No.

HTML is delivered to users as 'source code', which the user's browser then interprets. There is nothing you can do to protect HTML code; except trying to enforce your copyright if it's stolen.

Also, you can't easily 'scramble' or obfuscate HTML code as you would with other types of code; because even subtle changes will often have some visible effects.

The best you might get, is encrypting the page, saving it somewhere on your server; and responding to requests with a blank page that runs a Javascript function to collect, decrypt and display the page content.

But, as you can't encrypt Javascript programs either, and since you'd have to send a link in the page to a program that can collect and decrypt your pages; it's gonna by like holding sand in a sieve...

Still, you might be able to do some funky business at the server to hide the Javascript code by means of checking the referer in an HTTP header... so that only your pages can link to the JavaScript code. This still has drawbacks; some browsers might let a user see post-JS source code ( and all browsers have to download the code, and most cache it somewhere ); and it's going to greatly increase the loading times for your pages; and the pages' contents will be totally indeterminable by a search engine spider.
Last edited by MattEvans; Apr 19th, 2007 at 10:35 am.
Plato forgot the nullahedron..
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 16
Reputation: connor4312 is an unknown quantity at this point 
Solved Threads: 0
connor4312's Avatar
connor4312 connor4312 is offline Offline
Newbie Poster

Re: hide html code on my website

 
0
  #4
Apr 19th, 2007
If you want to encrypt it, go to designerwiz.com.
Then go to js code makers, amd it's on the bottom of the page under security
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: hide html code on my website

 
0
  #5
Apr 23rd, 2007
Why do you want to do this? It sounds very selfish to me.

You are not going to hide any of the other files on your site that way. There are programs which can read your web directory.

The whole purpose of the web is openness. Don't try to defeat that.

I do know ways of hiding email addresses from robots, yet leaving them visible to users.
Last edited by MidiMagic; Apr 23rd, 2007 at 1:54 am.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 8
Reputation: Lusine is an unknown quantity at this point 
Solved Threads: 0
Lusine Lusine is offline Offline
Newbie Poster

Re: hide html code on my website

 
0
  #6
Nov 24th, 2007
Is there anything i can install on my server to hide my site's html code?
I don't sure, that there are softs, that can be installed on server and do it on fly, but you can use some dekstop softs or online tools, that do it.

You are not going to hide any of the other files on your site that way.
sometimes if u are webmaster/webdesigner [in work with your clients] you need it :-) hope you understsand what i mean :-)
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: hide html code on my website

 
0
  #7
Nov 25th, 2007
If the file is used to render a website, it can't be hidden from the user. The browser needs the source code itself to do the rendering, and so it can always display it to the user.

There is no binary file in HTML as there is with other programming languages.

You can make some files private, but that means that nobody except you can access the files. They can't be used to render a web page on someone else's computer..

Since most HTML code is a straightforward solution to the wanted layout, there is probably no intellectual property in the source code anyway.
Last edited by MidiMagic; Nov 25th, 2007 at 3:53 pm.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 48
Reputation: CertGuard is an unknown quantity at this point 
Solved Threads: 3
CertGuard's Avatar
CertGuard CertGuard is offline Offline
Light Poster

Re: hide html code on my website

 
0
  #8
Nov 27th, 2007
If you want to HIDE proprietary code from the users, try developing the site in ASP or ASP.NET, but as MidiMagic stated, the HTML MUST be visible for the browser to interpret.
--
Robert Williams
CEO, Founder
CertGuard
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 11
Reputation: twkillswitch is an unknown quantity at this point 
Solved Threads: 0
twkillswitch twkillswitch is offline Offline
Newbie Poster

Re: hide html code on my website

 
0
  #9
Nov 27th, 2007
if you know any coding in css that would work to because all of your formating can be linked to an external style sheet that nobody knows the properties of.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 48
Reputation: CertGuard is an unknown quantity at this point 
Solved Threads: 3
CertGuard's Avatar
CertGuard CertGuard is offline Offline
Light Poster

Re: hide html code on my website

 
0
  #10
Nov 27th, 2007
Style sheets can be downloaded though. If you look in the <head> tags of any page on the site you can get the location of the CSS file. Once you know that all you have to do is put the path to that file in the address bar and it's yours.
--
Robert Williams
CEO, Founder
CertGuard
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC