Can someone steal PHP script without hacking server?
alexey9
9:06 pm on Mar 29, 2007 (gmt 0)
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)
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)
No, I'm on dedicated server.
jtara
5:41 pm on Apr 2, 2007 (gmt 0)
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...