Forum Moderators: open

Message Too Old, No Replies

Html Coding

How do you hide your html coding from prying eyes

         

nosajarta

5:13 am on Dec 16, 2003 (gmt 0)

10+ Year Member



I have a site that I'm designing and I want to hide the html code from would-be thieves. How does a webmaster do this?

Also, if the code is hidden from human eyes, does this also mean that the search engines may not pick up your content. Wouldn't want to hide content and metatags from the search engines.

Thanks in advance for all replies.

PS...If you know of a script that I can just plug into my html, please let me know. I heard that this is what people with .asp pages do.

sun818

8:11 am on Dec 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



<!-- COPYRIGHT VIOLATION! YOU WILL BE REPORTED UNLESS YOU CLOSE THIS DOCUMENT NOW! -->

(50 blank lines)

<!-- your html code here -->

;)

Paul in South Africa

8:29 am on Dec 16, 2003 (gmt 0)

10+ Year Member



Have a look at these threads which basically tell you it can't be done with any reliability.

Hiding code on a web page [webmasterworld.com]
Cloaked or inaccessible html source code [webmasterworld.com]

domokun

9:35 am on Dec 16, 2003 (gmt 0)

10+ Year Member



the only way i can think of is by using asp.
asp is run server side, therefore only certain code is displayed when you view source. there must be some sort of fudge to use this to hide html.

Shadows Papa

5:02 pm on Dec 22, 2003 (gmt 0)

10+ Year Member



>>the only way i can think of is by using asp.
asp is run server side, therefore only certain code is displayed when you view source. there must be some sort of fudge to use this to hide html. <<

Sorry, the viewer STILL receives the full HTML code to their computer, otherwise the browser could not display it.
How do I know? My site uses ASP, the code for the forums and guestbook creates the pages on the fly, however, I can still find the files on my computer after a view and have the full code. I can also wade through and find the scripts the page uses and harvest them. Unless you are REALLY careful, I might even be able to access your database.
ASP simply means the full pages may not exist on the server in their final form, but they will be presented to you in final form when you choose to view the site.
I also have a couple of site harvesters on hand..........(uh, I use them to make backups of my own sites, of course)

Bottom line, and it's been said hundreds of times - there is no reliable, safe way to hide your HTML. I can and will find a way to get it if I want it badly enough. The only help is that most people who would even bother trying to get it are probably beginners and not YET smart enough to know HOW to get it if you attempt to hide it using certain methods.

Me, however, I've decrypted encrypted virus and worm code before so finding HTML source isn't much problem, generally.

Shadows Papa