Make It Impossible To View Page Source

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #11) by TavoxPeru on Aug 1 2008, 02:41 AM. (Line Breaks Removed)
I completely agree with mastercomputers and what he said is correct, that is what happens when you view the source code of the page.If you use Firefox you can view all the source code including the loaded code with Ajax if you use Firebug for example.Best regards,
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting > Computers & Tech > Programming > Scripting > PHP

Make It Impossible To View Page Source

Feelay
Hi!

I was just wondering if it is possible to make username unable to view the page source.. I know that you can disable right click, but still, they can go to the page source from the navigation menu on the top of the browser.. if possible, I would really like a code that works on all browsers. Or if you know different codes that works on different browsers..

Thanks //Feelay

Reply

Miles
Nope, not possible. HTML will always be visible, no matter what you try. Some people foolishly believe that javascript so-called 'html encryptors' protect your source, but this is untrue. They merely change it to hexadecimal coding.

Reply

Quatrux
If you want to hide the source of your html page, just make it blank, then no one will see anything, even the browser, because you won't have anything to show, so if the coding would be encrypted one way, when how would the browser know what to show? there is no point to hide HTML, if the browser can show your page, when it means that anyone can view your source.. people think that their html is so cool that there is some kind of point to hide it.. Even though everyone is stealing the source and using it or learn from it, for example Javascript, I usually just look into the source how it is done.. More serious thing is the stealing of images, usually a watermark or some logo at the bottom right side helps tongue.gif

So there is no way and I don't think there will be in the future, but maybe someone will think of something.

Reply

wutske
There is no use to hide the page source, I mean, the only thing people see is dynamicly generated HTML code ... they see nothing of your PHP source code.
If you're woried about people stealing your lay-out, then code most of it in an unlogic organized CSS cool.gif .

Reply

docduke
You need to think through what you want to protect. Browsers are simply source-code compilers. Feed them a text and binary stream of data, and they convert it into a graphical layout on the client computer screen. The server side has complete control of the data stream.

One very common choice is to use PHP, CGI, etc. to generate html text. The resulting data stream cannot be hidden, because otherwise the client browser has nothing to work on. Alternatively, the server side could do the layout itself and just send a graphic (e.g. JPG) image. This has the advantage that the client experiences "what you see is what you get," but many people with different screen sizes (for example, on a cell-phone browser) may find it completely unusable. Visually impaired users may want their browser to read the screen in audio. That would not be possible.

Generating code for a browser is like writing a book. First, decide who your audience is. Then decide what that audience wants. Then give it to them, in a form that does not cause you unnecessary problems. If you go through that analysis systematically, you are left simply with the choice of tools to facilitate this process.

 

 

 


Reply

Quatrux
Another good reason to hide the page source is, even I have seen it happen for my websites, when browsing google, I saw my site being used, I mean the layout page source was stolen and put somewhere else on a server for a Chinese free hosting or something like that and different ads were put up and that really made me mad tongue.gif

Reply

TavoxPeru
QUOTE(Feelay @ Jun 18 2008, 09:56 AM) *
Hi!

I was just wondering if it is possible to make username unable to view the page source.. I know that you can disable right click, but still, they can go to the page source from the navigation menu on the top of the browser.. if possible, I would really like a code that works on all browsers. Or if you know different codes that works on different browsers..

Thanks //Feelay

As far as i know there is no way to perform that, what you can do is to obfuscate the html code by encrypt it, about the php code you can use an encoder to encode your code prior to distribute them to your client.

One php encoder that i know and you can use is PHTML Encoder, comes in two versions -free and pro- and the free one is available to download from here. You can use this with all versions of PHP between 4.0.6 and 5.2.4.

QUOTE
What is PHTML Encoder?
The PHTML Encoder (formerly-PHP Encoder) allows encoding PHP scripts before distributing them. The script code logic is preserved while using cryptography to hide your logic from prying eyes. It is possible to lock encoded scripts to predefined machine (Web server) via machine ID so your scripts will work only on this machine. You can use self-decodable scripts, which do not require any changes to your PHP installation. Because PHTML Encoder is a cross-platform product, this software will work on ALL computer and server platforms which support PHP. The PHTML Encoder includes console and GUI versions of converter for encryption/decryption of your scripts. You can use wildcards to easily convert a whole project. The PHTML Encoder is transparent to your visitors. It is possible to combine protected and unprotected scripts on one web site.

Best regards,

Reply

FirefoxRocks
To view the source of ANY page:

1. Go to this: http://validator.w3.org/#validate_by_uri+with_options
2. In the Address field, enter the URL of the page you want to view source of.
3. Check the box called Show Source.
4. Click Check.

Ignore (X)HTML errors if you aren't interested, but the validator will display the source along with markup errors if it is a page with valid character encoding.

Reply

Miles
QUOTE(TavoxPeru @ Jun 19 2008, 07:00 AM) *
As far as i know there is no way to perform that, what you can do is to obfuscate the html code by encrypt it, about the php code you can use an encoder to encode your code prior to distribute them to your client.

One php encoder that i know and you can use is PHTML Encoder, comes in two versions -free and pro- and the free one is available to download from here. You can use this with all versions of PHP between 4.0.6 and 5.2.4.


Best regards,

Obfuscating HTML coding is not particularly useful. Whilst changing the names of elements can be frustrating to people who want to steal, it won't stop them, just like javascript based html 'encoders'. As for PHP encoding, it's only really useful to prevent hack attacks on site's by encrypting the coding, for scripts that will be redistributed it is an annoyance and will deter users.

Reply

TavoxPeru
As i said in my previous post, you can obfuscate your HTML code to hide it from prying eyes using some kind of encryption method or with an html encoder, like this one HTML Encoder - Encode URL, Text and Decoder that i just found at the Audit My PC website.

The HTML Encoder tool is free and very easy to use. You can use to encode or decode html, url or text. Additionally at the bottom of the same page you will find a tool to help you to escape or unescape text called the Text Escape tool, this tool will look for any special characters and escape them.

So, take a look to the HTML Encoder - Decoder tool may be it can helps you.

Edit: The Encode/Decode HTML entities is another tool which you can use to convert text to HTML entities.

Best regards,

Reply

Latest Entries

TavoxPeru
I completely agree with mastercomputers and what he said is correct, that is what happens when you view the source code of the page.

If you use Firefox you can view all the source code including the loaded code with Ajax if you use Firebug for example.

Best regards,

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Recent Queries:-
  1. how to make php code not show up in view source - 6.78 hr back. (2)
  2. how to steal php source - 12.15 hr back. (1)
  3. slavehack firebug tut - 19.17 hr back. (1)
  4. hide the view page source - 29.31 hr back. (1)
  5. final fantasy battle system sourcecode - 56.81 hr back. (1)
  6. no page source - 145.65 hr back. (1)
  7. html view page source - 156.62 hr back. (1)
  8. who is dumansal - 193.91 hr back. (1)
  9. make it impossible for people to view your comments - 194.93 hr back. (1)
  10. can not view page source loaded by ajax - 208.93 hr back. (1)
  11. firefox "view page source" wrong page login - 246.38 hr back. (1)
  12. view page source - 247.75 hr back. (1)
  13. encrypting source code to prevent to show to firebug - 275.02 hr back. (1)
  14. hide "view page source" - 289.49 hr back. (1)
Similar Topics

Keywords : source


    Looking for make, impossible, view, page, source

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for make, impossible, view, page, source
advertisement




Make It Impossible To View Page Source



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE