Security - chmod 777 - PHP upload/write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Sometimes when I write a PHP-script and upload it to a ISP through password
protected FTP, the only way to write data to a folder is to run chmod 777
for that folder, I want to write (or save) a data to (e.g. file-upload,
flat-file-database). However, if I do so, I have been told, everyone can
write data to that file, which is a security risk. Is that true?

If I do so, is it right that anyone can write a data to that folder? E.g.
PHP-script that can reveal everything?

Regards,
SED

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux