Welcome to WebmasterWorld Guest from 54.160.131.144

Forum Moderators: bakedjake

Message Too Old, No Replies

Can someone steal PHP script without hacking server?

     

alexey9

9:06 pm on Mar 29, 2007 (gmt 0)

10+ Year Member



Can someone steal PHP script without hacking server? I mean can someone steal script over HTTP?

mcavic

10:46 pm on Mar 29, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If the server is configured properly, only the output of the PHP scripts will be available over HTTP, not the source code.

But if you're on a shared server, other customers on that server will usually be able to read your source code easily.

alexey9

12:27 am on Mar 31, 2007 (gmt 0)

10+ Year Member



No, I'm on dedicated server.

jtara

5:41 pm on Apr 2, 2007 (gmt 0)

WebmasterWorld Senior Member jtara is a WebmasterWorld Top Contributor of All Time 5+ Year Member



I mean can someone steal script over HTTP?

Only if your server is misconfigured. For example, if you omitted the MIME association for .php, somebody attempting to configure the script would just be sent the source code of the script. I've seen that happen more than a few times...