Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
How to Prevent Seeing Source Code? Is there a special script or something? webgaya
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?
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.
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!
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?
Perl/PHP? Yes. Those scripts are hidden from visitors by default already.
What about one of these [ ...] google.com
edited : sorry I see you have already looked at these products.
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