ImageUploadDeniedExtensions"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: == ImageUploadDeniedExtensions == This option specifies the image upload extensions which you don't wish to use in FCKeditor. Example: <pre>FCKConfig.ImageUploadDeniedExtensions = ".(bmp|...)
 
 
Line 6: Line 6:
 
If you leave this option empty none extension will be denied.
 
If you leave this option empty none extension will be denied.
  
'''NOTE''': if you leave [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/FlashUploadAllowedExtensions|ImageUploadAllowedExtensions]] empty and you will put something in ImageUploadDeniedExtensions e.g.bmp it will allow the upload of all the files exept the bmp. However it isn't a good way to secure your server from unwanted uploads. The best way is to put all of the prefered extensions in [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/FlashUploadAllowedExtensions|ImageUploadAllowedExtensions]] and put the unwanted ones in the ImageUploadDeniedExtensions. Only in this way you will secure your server from junk.
+
'''NOTE''': if you leave [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/ImageUploadAllowedExtensions|ImageUploadAllowedExtensions]] empty and you will put something in ImageUploadDeniedExtensions e.g.bmp it will allow the upload of all the files exept the bmp. However it isn't a good way to secure your server from unwanted uploads. The best way is to put all of the prefered extensions in [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/ImageUploadAllowedExtensions|ImageUploadAllowedExtensions]] and put the unwanted ones in the ImageUploadDeniedExtensions. Only in this way you will secure your server from junk.

Latest revision as of 14:25, 10 January 2008

ImageUploadDeniedExtensions

This option specifies the image upload extensions which you don't wish to use in FCKeditor. Example:

FCKConfig.ImageUploadDeniedExtensions = ".(bmp|gif)$" ;

If you leave this option empty none extension will be denied.

NOTE: if you leave ImageUploadAllowedExtensions empty and you will put something in ImageUploadDeniedExtensions e.g.bmp it will allow the upload of all the files exept the bmp. However it isn't a good way to secure your server from unwanted uploads. The best way is to put all of the prefered extensions in ImageUploadAllowedExtensions and put the unwanted ones in the ImageUploadDeniedExtensions. Only in this way you will secure your server from junk.

This page was last edited on 10 January 2008, at 14:25.