Re: [PHP] Re: The secrecy of PHP code

2001-08-25 Thread Artyom Plouzhnikoff
> If your php-code is on a web-server which gives access to other than you > they can read your code. An example could be other people being hosted > on the same server.. Not necessarily. You can enable safe_mode and/or set an open_basedir in order to prevent those people from doing that. You s

Re: [PHP] Re: The secrecy of PHP code

2001-08-14 Thread ~~~i LeoNid ~~
On Tue, 14 Aug 2001 12:06:01 +0200 impersonator of [EMAIL PROTECTED] (Soeren Nielsen) planted &I saw in php.general: > >"Ben-Nes Michael" <[EMAIL PROTECTED]> wrote in message >022201c12498$79178ce0$[EMAIL PROTECTED]">news:022201c12498$79178ce0$[EMAIL PROTECTED]... >> The problem still stays if you

Re: [PHP] Re: The secrecy of PHP code

2001-08-14 Thread Soeren Nielsen
"Ben-Nes Michael" <[EMAIL PROTECTED]> wrote in message 022201c12498$79178ce0$[EMAIL PROTECTED]">news:022201c12498$79178ce0$[EMAIL PROTECTED]... > The problem still stays if you open php to system commands like `echo > /etc/passwd` or using system() A problem is also that other web-programer

Re: [PHP] Re: The secrecy of PHP code

2001-08-14 Thread Ben-Nes Michael
its a problem because the code is not compiled into binary file, and then every one who can browse the directory ( using ftp for example ) can view your code. To prevent this ( as root ) I chroot every user that log to ftp to another directory so they cant go out and browse the /etc /php-director