Reply to Re: Newbie PHP question: 'hiding' code on server from View Source

Your name:

Reply:


Posted by Sanders Kaufman on 01/17/07 03:45

murrayatuptowngallery@yahoo.com wrote:

> What I would like to do is have the web page visitor access one page
> that 'calls' another so that the code isn't visible thru a web
> browser's 'View Source'.

That's like trying to run a car on gasoline that's not really in
the tank.
No can do.

There are two ways to come close, though.

The second-best way is to obfuscate the HTML. Make it so ugly
and garbled that noone can reverse-engineer it.

The other is to have like a Javascript routine that dynamically
loads content. When they view source, they'll just see the JS
routine. The downside is that they can just look at what the JS
downloaded - but at least it won't be as simple as just view-source.

You can up the obfuscation on that by having the JS appear to
load several different files, making it difficult for the
cracker to know which file was displayed.







> Can a .php or .htm file in the 'public', 'www', or 'html' directory
> access a .php file in for example the CGI-BIN area, or is there another
> way to do this?
>
> A visual example would probably help me more than a description.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация