FlashUploadDeniedExtensions"

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.

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|FlashUploadAllowedExtensions]] empty and you will put something in deniedExtensions e.g.pdf it will allow the upload of all the files exept the pdf. 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|FlashUploadAllowedExtensions]] and put the unwanted ones in the deniedExtensions. Only in this way you will secure your server from junk.
+
'''NOTE''': if you leave [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/FlashUploadAllowedExtensions|FlashUploadAllowedExtensions]] empty and you will put something in deniedExtensions e.g.swf it will allow the upload of all the files exept the swf. 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|FlashUploadAllowedExtensions]] and put the unwanted ones in the deniedExtensions. Only in this way you will secure your server from junk.

Revision as of 14:05, 10 January 2008

FlashUploadDeniedExtensions

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

FCKConfig.FlashUploadDeniedExtensions = ".(swf)$" ;

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

NOTE: if you leave FlashUploadAllowedExtensions empty and you will put something in deniedExtensions e.g.swf it will allow the upload of all the files exept the swf. 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 FlashUploadAllowedExtensions and put the unwanted ones in the deniedExtensions. Only in this way you will secure your server from junk.