Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe to WebmasterWorld
Can someone steal PHP script without hacking server? alexey9 msg:3296778 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 msg:3296865 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 msg:3297996 12:27 am on Mar 31, 2007 (gmt 0)
No, I'm on dedicated server. jtara msg:3300285 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...