asoekaya
07-29-2008, 03:08 AM
how can we hide our website source ...??
i mean when someone click on view source it will not appear the script....
thanks..
There's no way at all to prevent this.
Lets just say if something is so precious to you, don't post it on the internet.
djr33
07-29-2008, 01:20 PM
HTML is code and only code. The only reason you don't see code is because the browser displays colors and formatting based on the code, rather than the code itself. A browser could actually be programmed to only show the code (not that it would be helpful).
So, what you do is send code and the browser displays graphics. Without the code, the browser can't display graphics. And, of course, the browser will have the code.
Browsers also don't have a command to hide the view source option (and if they did it would only work for some browsers), and you can always just view the text of the page anyway (like in notepad).
In other words, this is absolutely impossible.
I'm going to close this discussion because it's been brought up many times, but feel free to search the forums for "hide view source" and you'll get a lot more info if you want.
However, even if you find what might look like an answer, it's just a way of making it harder to view the source (like putting it in a frame), and really won't stop anyone.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.