Forum Moderators: not2easy

Message Too Old, No Replies

Hide html from public.

Help please.

         

clarence144

1:59 am on Apr 3, 2005 (gmt 0)



I was wondering if there is anyway to stop people from veiwing your source? I found a cool decrypter on dynamic drive, but it's not passwrod protected, so anyone can decrypt it. Any ideas I'll take like making a non-right-clickable iframe... but you can still see the source by going to the iframe link in the main page. Just anything you can think of, thanks people.

microbe

9:10 am on Apr 3, 2005 (gmt 0)

10+ Year Member



If you are going to publish stuff on the web then you are not going to be able to keep it private, that is kind of the point.

If you want, you can make it more difficult for people to read, for example, you can optimize your html so that it is white space free and all on one line.

[edited by: rogerd at 7:37 pm (utc) on April 3, 2005]
[edit reason] No URLs please per TOS... [/edit]

killroy

11:23 am on Apr 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The real question is, what is so clever in your html that you think others would want to steal it? HTML is an open standard, and more hten likely anything clever you put into it is available on some free scripts site elsewhere.

rogerd

7:39 pm on Apr 3, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, clarence144 and microbe. There's really no way to protect your HTML, since you have to deliver it to the user's browser to interpret. At best, you can make it tougher for really unsophisticated thieves.

peejavery

6:22 pm on May 2, 2005 (gmt 0)



Or you can just have some fun with JavaScript and use code characters to make your script nasty and no one will want to waste the time to decode it.

[edited by: rogerd at 12:37 pm (utc) on May 4, 2005]
[edit reason] No tool URLs please [/edit]

BigDave

7:13 pm on May 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could always go with the old method of making your site into a giant image for each page. That way you won't have much HTML to steal.

rogerd

12:40 pm on May 4, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, peejavery. Javascript encoding is a bit risky, since there are still those who browse with it off, sometimes due to device limitations. That includes search engine spiders. It's not a bad solution for something tiny, like an email address, particularly if you use a noscript tag to substitute an image or otherwise obfuscated alternative.