You are here: Re: Limit folder (with subfolders) capacity « PHP Programming Language « IT news, forums, messages
Re: Limit folder (with subfolders) capacity

Posted by Alvaro G. Vicario on 09/27/22 11:56

*** Jerry Stuckle escribió/wrote (Thu, 24 Aug 2006 21:06:41 -0400):
>> I don't think so. Disk quotas allow you to limit the number/size of files a
>> user can save in a disk partition. But PHP scripts run with the same system
>> user, no matter who's logged in your app.
>>
>
> Actually, you can. You can limit the size of the directory in either
> Linux or Windows Server. Any attempt to store more than that in the
> directory will return an error.

He needs to set limits in a per-user base. His web app will always run
under the *same* user: nobody, apache, LOCAL SYSTEM or whatever. And to
make it worse, quotas work over system users. The users that register in
your web site do not count for the OS.


--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--

 

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

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