Re: Filter Out Filenames by Extension

  •  06-08-2007, 12:17 PM

    Re: Filter Out Filenames by Extension

    >>That works for 'downloadable files', but I want to restrict what's displayed when they 'insert hyperlink'. 
     
    It also works for  'insert hyperlink' button.
     
     
    >>I need to modify the filenamePattern for that, correct?
     
    No.
     

    Restricting Document Files by Extensions and Types

     

    One of the CuteEditor 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 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 DocumentFilters element element . By default, it contains the following value:


    <
    security name="DocumentFilters">

           <item>.pdf</item>
           <item>.zip</item>

           <item>.rar</item>

    </security>
      

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

     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread