As we want to use WordPressµ for making a big service, we'll have to put some limitations, such as space quotas, and limitations on the max file size upload that can be set.
For now, i'm using a ugly hack, which consists in 3 files. One, called 'idn-limits.inc.php' which handle hard limitations about max file size to set and others like paths (you know, in the 'Options', then 'Others' menus), in order nobody to override them.
The two other are idn-space.php and space.inc.php which both hande for quotas. The first is a GUI to manage files uploaded (simple manage, which mean you can only see files uploaded, have a link for them, and delete them). The second contains some functions to calculate freespace, used space, and see if the quotas is full or not. This is simple but pretty robust code, even if it's a ugly (and in french !) hack.
As plugins can be (de)activated by users, i dunno if it's secure to make a plugin for this code.
So, as we're using WordPressµ, i'm thinking it's a morale way to act by giving some stuff which i've done and that could interest people.
Is there people interested here by this hack, then i could prepare the code and give it to you, with some doc to use it.
Hope you'll be interested !