(New page: == FlashUploadAllowedExtensions == This option specifies the flash upload extensions which you don't wish to use in FCKeditor. Example: <pre> FCKConfig.FlashUploadDeniedExtensions = ".(sw...) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == | + | == FlashUploadDeniedExtensions == |
This option specifies the flash upload extensions which you don't wish to use in FCKeditor. Example: | This option specifies the flash upload extensions which you don't wish to use in FCKeditor. Example: | ||
− | <pre> | + | <pre>FCKConfig.FlashUploadDeniedExtensions = ".(swf)$" ; |
− | FCKConfig.FlashUploadDeniedExtensions = ".(swf)$" ; | + | </pre> |
− | </pre> | ||
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/ | + | '''NOTE''': if you leave [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/FlashUploadAllowedExtensions|FlashUploadAllowedExtensions]] empty and you will put something in FlashUploadDeniedExtensions 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 FlashUploadDeniedExtensions. Only in this way you will secure your server from junk. |
Latest revision as of 14:16, 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 FlashUploadDeniedExtensions 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 FlashUploadDeniedExtensions. Only in this way you will secure your server from junk.