
You can easily limit the size of the template files to be uploaded 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 MaxTemplateSize element which contains the value of max media file upload size limit (in kbs). By default, it contains the following value:
<security name ="MaxTemplateSize">100</security>
You can modify the MaxTemplateSize element to meet your own requirements.
For example:
<security name ="MaxTemplateSize">200</security>
C# Example:
Editor1.Setting["security:MaxTemplateSize"]= "200";or
Editor1.SetSecurityMaxTemplateSize = "200";
VB Example:
Editor1.Setting("security:MaxTemplateSize")= "200"
or Editor1.SetSecurityMaxTemplateSize = "200"