|
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]
|