I need a script that can allocate diskspace to users inside a linux server. Basically any shell script would do. I was thinking allocating space using PHP/BASH and using .htaccess to restrict access the folllowing way: 1. Rights Restrictions for users and groups - User A and B belongs to Group Alpha. User C and D belongs to Group Charlie. User A and B would be able to access the Group Alpha Main website. But user C and D cannot access the Alpha Groups' main site. Also, User A won't be able to view User B's website even though they are in the same group. In short, I just need a script to allocate space and restrict access according to the rules above. Thanks!