You are here: Re: A little problem with move_uploaded_file() « PHP Programming Language « IT news, forums, messages
Re: A little problem with move_uploaded_file()

Posted by Curtis on 01/22/07 12:04

On Jan 20, 5:17 pm, "Batmanuel" <antonioet...@gmail.com> wrote:
> I would chmod /tmp itself but wouldn't
> that be a big security risk? is there another solution?

Giving the target directory write permissions isn't necessarily a big
risk, but you do need to try and ensure that your scripts can't be used
to move arbitrary files to the target directory, so check content-type
and file extension.
--
Curtis

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация