One of the Cute Editor new and innovative capabilities is Restricting uploading document Files by Extensions and Types. You can filter the type of document files so only specified file types are allowed to upload or show in the dialog.
This topic describes how to manage uploading document file type restrictions.
You can restrict uploading document Files by Extensions and Types using the following methods:
The security policy file (default.config, admin.config and
guest.config) can be found in the cuteeditor_files/Configuration/Security folder. In
security policy file you can find the DocumentFilters element
element . By default, it contains the following value:
<
<item>.pdf</item>
<item>.zip</item>
<item>.rar</item>
</security>
You can modify the DocumentFilters element element to meet your
own requirements.
Example:
editor.DocumentFilters=".pdf,.zip"