How to limit the size of personal files per user?

cancel
Showing results for 
Search instead for 
Did you mean: 
renato_fritola
Active Member II

How to limit the size of personal files per user?

I need to limit the size of users' personal files because of limited physical appeal. 
How can I do this?

Example: Each user can only include 5 Gb of data in their personal files.

Thank's.

4 Replies
kintu_barot
Senior Member

Re: How to limit the size of personal files per user?

Hi ,

You can set disk quota for the users while creating them Creating a new user | Alfresco Documentation 

Regards,

Kintu

ContCentric

Regards,
Kintu
renato_fritola
Active Member II

Re:  How to limit the size of personal files per user?

I am using LDAP / AD integration. How do I set the quota for these users?
kintu_barot
Senior Member

Re:  How to limit the size of personal files per user?

You can use setQuota | Alfresco Documentation api to set the quota of created user.

Regards,

Kintu

ContCentric

Regards,
Kintu
calvo
Senior Member

Re: How to limit the size of personal files per user?

Hi,

Add this lines in alfresco-global.properties (10 MB):

system.usages.enabled=true
system.content.maximumFileSizeLimit=10240000

An example of use (Spanish): NeTIC360: :: Alfresco. Establecer cuotas de disco para los usuarios. Javascript API 

As Kintu Barot‌ said, using setQuota to created user.

Regards,

clv