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. | + | '''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.