Forum Moderators: coopster

Message Too Old, No Replies

how to prevent people from downloading my php script?

         

zozzen

8:25 pm on Nov 7, 2007 (gmt 0)

10+ Year Member



Hi, it seems that people can copy apparently most source codes from a website, like html, css and js. But as far as I know, people can't download the php script on my website, but i'm not really sure about it.

Do I need to take any extra measures to prevent any download about php files on a website? Thanks!

eelixduppy

9:46 pm on Nov 7, 2007 (gmt 0)



Have a good firewall and don't create exploitable scripts that would reveal the php source code. As long as the php files are requested through the web server, though, they will be interpreted and not output as raw text.