Limiting flash upload folder size

You can easily limit the size of flash upload folder using the following methods:
1. Edit security policy file
The security policy file (default.config, admin.config and guest.config) can be found in the /CuteEditor/Configuration/Security folder. In security policy file you can find the MaxFlashFolderSize element which contains the value of max flash file upload size limit (in kbs). By default, it contains the following value:
<security name="MaxFlashFolderSize" >10000</security>
You can modify the MaxFlashFolderSize element to meet your own requirements.
For example:
<security name
="MaxFlashFolderSize">20000</security>
2. Programmatically limit the size of the flash upload folder
C# Example:
Editor1.Setting["security:MaxFlashFolderSize"]= "20000";or
Editor1.SetSecurityMaxFlashFolderSize= "20000";
VB Example:
Editor1.Setting("security:MaxFlashFolderSize")= "20000"
or
Editor1.SetSecurityMaxFlashFolderSize= "20000"