homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

How to Prevent Seeing Source Code?
Is there a special script or something?

 6:37 pm on Jun 23, 2006 (gmt 0)

How can I prevent people seeing the source
code of a particular web page. I have seen that
some web sites have done this and some products
are also available.

Isn't there a much easier way to
implement this than buying such a product?



 6:41 pm on Jun 23, 2006 (gmt 0)

I don't believe there is any 100% way of doing this.

The bigger question is why? Are you willing to keep from being indexed?

There is a big downside to doing this.


 11:52 pm on Jun 23, 2006 (gmt 0)

It would need to also prevent people from downloading the page as HTML, as well as stopping several versions of 'view source' - it might stop a casual visitor, but I cannot envisage a systemt that prevents 'view source' while still allowing 'view page'.

I'd guess that the software does little more than disable menus. Which would slow down a determined viewer by approximately 0.4 seconds!


 3:19 am on Jun 24, 2006 (gmt 0)


Thanks for comments!

I just wanted to protect a web page
that includes a confidential script
on it. I don't want others to download it.
It doesn't matter if SEs doesn't index it.

Is there still a way?


 9:41 am on Jun 24, 2006 (gmt 0)

JavaScript? No. If it's executing on your page, it's accessible somehow.

Perl/PHP? Yes. Those scripts are hidden from visitors by default already.


 9:59 am on Jun 24, 2006 (gmt 0)

What about one of these [google.com...]

edited : sorry I see you have already looked at these products.


 11:54 am on Jun 24, 2006 (gmt 0)

Translate it into Chinese, but don't use the auto-translators. Find a genuine human translator.

Don't worry about scrapers from Asia, the code won't validate or execute properly. -LH

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved