CuteEditor for .NET

Restricting Files by Extensions and Types

One of the Cute Editor new and innovative capabilities is Restricting uploading image Files by Extensions and Types. You can filter the type of image files you want to upload so only specified file types are allowed.

This topic describes how to manage uploading image file type restrictions.

You can restrict uploading image Files by Extensions and Types by editing the 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 ImageFilters element. By default, it contains the following value:

<security name="ImageFilters" >
       <item>.jpeg</item>
       <item>.gif</item>
       <item>.png</item>
</security>


You can modify the ImageFilters element to meet your own requirements.