Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: brotherhood of lan & mack

How to Prevent Seeing Source Code?

Is there a special script or something?

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

5+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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)

WebmasterWorld Senior Member quadrille is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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)

5+ Year Member



Hi!

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)

WebmasterWorld Senior Member 10+ Year Member



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)

10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month