|
Posted by Alvaro G. Vicario on 12/17/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
--
[Back to original message]
|