I am looking to offer some free hosting for CouchDB. The authorization part is fairly straightforward (user has access to 1 database) but I was wondering if there is any simple way to assign a space quota for that database/user.
CouchDB does not support quotas natively, so you may need something custom.
You can enforce it yourself, either with a tiny fork of CouchDB or with your related hosting software, and use the usage information returned by CouchDB. Since version 1.2, CouchDB indicates not only the disk usage, but "data" size, not counting metadata and old data.