1<!-- 2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 3 * Copyright (C) 2003-2007 Frederico Caldeira Knabben 4 * 5 * == BEGIN LICENSE == 6 * 7 * Licensed under the terms of any of the following licenses at your 8 * choice: 9 * 10 * - GNU General Public License Version 2 or later (the "GPL") 11 * http://www.gnu.org/licenses/gpl.html 12 * 13 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 14 * http://www.gnu.org/licenses/lgpl.html 15 * 16 * - Mozilla Public License Version 1.1 or later (the "MPL") 17 * http://www.mozilla.org/MPL/MPL-1.1.html 18 * 19 * == END LICENSE == 20 * 21 * Configuration file for the File Manager Connector for ASP. 22--> 23<% 24 25' SECURITY: You must explicitelly enable this "connector" (set it to "True"). 26Dim ConfigIsEnabled 27ConfigIsEnabled = False 28 29' Path to user files relative to the document root. 30Dim ConfigUserFilesPath 31ConfigUserFilesPath = "/userfiles/" 32 33Dim ConfigAllowedExtensions, ConfigDeniedExtensions 34Set ConfigAllowedExtensions = CreateObject( "Scripting.Dictionary" ) 35Set ConfigDeniedExtensions = CreateObject( "Scripting.Dictionary" ) 36 37ConfigAllowedExtensions.Add "File", "" 38ConfigDeniedExtensions.Add "File", "html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis" 39 40ConfigAllowedExtensions.Add "Image", "jpg|gif|jpeg|png|bmp" 41ConfigDeniedExtensions.Add "Image", "" 42 43ConfigAllowedExtensions.Add "Flash", "swf|fla" 44ConfigDeniedExtensions.Add "Flash", "" 45 46ConfigAllowedExtensions.Add "Media", "swf|fla|jpg|gif|jpeg|png|avi|mpg|mpeg|mp(1-4)|wma|wmv|wav|mid|midi|rmi|rm|ram|rmvb|mov|qt" 47ConfigDeniedExtensions.Add "Media", "" 48 49%>