Hi. I have a blog, and I want to hide my source code. Is it possible to do this? Although there’s nothing interesting on my code but I just wanna know if there is a way. Thank you.
You can - do a search for HTML obfuscation.
Be warned though, it’s won’t stop someone determined to see the pure code, and it’ll make your work harder in the long run…
It is extremely easy to get back to the HTML for any web page - the browser has to convert it bacl before being able to display the page and so just a couple of lines of JavaScript run against the page after the page is displayed can do it.
All that obfuscating the HTML does is to stop some of your legitimate visitors from being able to view the page (because they don’t have JavaScript). As for theft of your content - it just makes it more likely because of those who think that it is clever to be able to steal the source of obfuscated pages.
yes, it is possible
you have two options –
- wrap the following tags around the portion of the code that you don’t want stolen…
<SOURCE COPY="no">
<!-- secret source code here -->
</SOURCE>
- develop your source code with Frontpage
that won’t actually prevent anyone from stealing it, but no one will want to
- develop your source code with Frontpage
Nah, this works much better:
PUBLISHER.
See source code here as a great and wonderful example: http://vanleeuwenglas.nl/ (only actually viewable in Internet Exploder)
VML FTW lawlz
I suck at math but I’m sure that source code is about 500 times bigger than plain HTML would be.
omfg :x
but isn’t microsoft publisher just a later version of microsoft frontpage?
but isn’t microsoft publisher just a later version of microsoft frontpage?
My knowledge of MS products is limited, but this page is certainly from the same era as FrontPage (page is nearly a decade old). Not sure why they didn’t just use FrontPage, since it’s for building web sites, rather than “desktop publishing”…
Nope - frontpage was for web development, publisher was mainly intended for print - it works decently for what it’s intended for…it’s those that go outside what it’s designed for that cause headaches. :injured:
No Microsoft Expression Web is the replacement for FrontPage.
Publisher is a completely different program.
Your suggestion that they are simiilar is like suggesting that Microsoft Word is a replacement for Microsoft SQL Server - that’s how different the two programs are in their intended purposes.
Frontpage was actually intended for creating web pages and while IE6 was the best browser available it did a reasonable job of it but using lots of proprietary MS codes. You’d have more success in creating databases with Word than you would in creating web pages from Publisher.
Thanks for the replies everyone. I’ll try to implement some of the tips here. hmm…looks like tough job to hiding the codes. May be I need different trick.
The trick is to NOT try to hide the code as that just stops legitimate visitors from using the site and encourages theft by those who don’t realise how trivially easy it is to bypass whatever you build in.
Look at any professional web site any you will find that they have not made any attempt to ‘protect’ their HTML as doing so lessens the chances of it being stolen. Plus of course if someone steals your content you can take them to court for breach of copyright.
Judging by the OP’s homepage, I’m guessing the concern is how display sample page designs without letting others see how it was done.