--- /dev/null
+<%\r
+ ' FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
+ ' Copyright (C) 2003-2008 Frederico Caldeira Knabben\r
+ '\r
+ ' == BEGIN LICENSE ==\r
+ '\r
+ ' Licensed under the terms of any of the following licenses at your\r
+ ' choice:\r
+ '\r
+ ' - GNU General Public License Version 2 or later (the "GPL")\r
+ ' http://www.gnu.org/licenses/gpl.html\r
+ '\r
+ ' - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
+ ' http://www.gnu.org/licenses/lgpl.html\r
+ '\r
+ ' - Mozilla Public License Version 1.1 or later (the "MPL")\r
+ ' http://www.mozilla.org/MPL/MPL-1.1.html\r
+ '\r
+ ' == END LICENSE ==\r
+ '\r
+ ' Configuration file for the File Manager Connector for ASP.\r
+%>\r
+<%\r
+\r
+' SECURITY: You must explicitly enable this "connector" (set it to "True").\r
+' WARNING: don't just set "ConfigIsEnabled = true", you must be sure that only\r
+' authenticated users can access this file or use some kind of session checking.\r
+Dim ConfigIsEnabled\r
+ConfigIsEnabled = False\r
+\r
+' Path to user files relative to the document root.\r
+' This setting is preserved only for backward compatibility.\r
+' You should look at the settings for each resource type to get the full potential\r
+Dim ConfigUserFilesPath\r
+ConfigUserFilesPath = "/userfiles/"\r
+\r
+' Due to security issues with Apache modules, it is recommended to leave the\r
+' following setting enabled.\r
+Dim ConfigForceSingleExtension\r
+ConfigForceSingleExtension = true\r
+\r
+' What the user can do with this connector\r
+Dim ConfigAllowedCommands\r
+ConfigAllowedCommands = "QuickUpload|FileUpload|GetFolders|GetFoldersAndFiles|CreateFolder"\r
+\r
+' Allowed Resource Types\r
+Dim ConfigAllowedTypes\r
+ConfigAllowedTypes = "File|Image|Flash|Media"\r
+\r
+' For security, HTML is allowed in the first Kb of data for files having the\r
+' following extensions only.\r
+Dim ConfigHtmlExtensions\r
+ConfigHtmlExtensions = "html|htm|xml|xsd|txt|js"\r
+'\r
+' Configuration settings for each Resource Type\r
+'\r
+' - AllowedExtensions: the possible extensions that can be allowed.\r
+' If it is empty then any file type can be uploaded.\r
+'\r
+' - DeniedExtensions: The extensions that won't be allowed.\r
+' If it is empty then no restrictions are done here.\r
+'\r
+' For a file to be uploaded it has to fulfill both the AllowedExtensions\r
+' and DeniedExtensions (that's it: not being denied) conditions.\r
+'\r
+' - FileTypesPath: the virtual folder relative to the document root where\r
+' these resources will be located.\r
+' Attention: It must start and end with a slash: '/'\r
+'\r
+' - FileTypesAbsolutePath: the physical path to the above folder. It must be\r
+' an absolute path.\r
+' If it's an empty string then it will be autocalculated.\r
+' Useful if you are using a virtual directory, symbolic link or alias.\r
+' Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.\r
+' Attention: The above 'FileTypesPath' must point to the same directory.\r
+' Attention: It must end with a slash: '/'\r
+'\r
+' - QuickUploadPath: the virtual folder relative to the document root where\r
+' these resources will be uploaded using the Upload tab in the resources\r
+' dialogs.\r
+' Attention: It must start and end with a slash: '/'\r
+'\r
+' - QuickUploadAbsolutePath: the physical path to the above folder. It must be\r
+' an absolute path.\r
+' If it's an empty string then it will be autocalculated.\r
+' Useful if you are using a virtual directory, symbolic link or alias.\r
+' Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.\r
+' Attention: The above 'QuickUploadPath' must point to the same directory.\r
+' Attention: It must end with a slash: '/'\r
+'\r
+\r
+Dim ConfigAllowedExtensions, ConfigDeniedExtensions, ConfigFileTypesPath, ConfigFileTypesAbsolutePath, ConfigQuickUploadPath, ConfigQuickUploadAbsolutePath\r
+Set ConfigAllowedExtensions = CreateObject( "Scripting.Dictionary" )\r
+Set ConfigDeniedExtensions = CreateObject( "Scripting.Dictionary" )\r
+Set ConfigFileTypesPath = CreateObject( "Scripting.Dictionary" )\r
+Set ConfigFileTypesAbsolutePath = CreateObject( "Scripting.Dictionary" )\r
+Set ConfigQuickUploadPath = CreateObject( "Scripting.Dictionary" )\r
+Set ConfigQuickUploadAbsolutePath = CreateObject( "Scripting.Dictionary" )\r
+\r
+ConfigAllowedExtensions.Add "File", "7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip"\r
+ConfigDeniedExtensions.Add "File", ""\r
+ConfigFileTypesPath.Add "File", ConfigUserFilesPath & "file/"\r
+ConfigFileTypesAbsolutePath.Add "File", ""\r
+ConfigQuickUploadPath.Add "File", ConfigUserFilesPath\r
+ConfigQuickUploadAbsolutePath.Add "File", ""\r
+\r
+ConfigAllowedExtensions.Add "Image", "bmp|gif|jpeg|jpg|png"\r
+ConfigDeniedExtensions.Add "Image", ""\r
+ConfigFileTypesPath.Add "Image", ConfigUserFilesPath & "image/"\r
+ConfigFileTypesAbsolutePath.Add "Image", ""\r
+ConfigQuickUploadPath.Add "Image", ConfigUserFilesPath\r
+ConfigQuickUploadAbsolutePath.Add "Image", ""\r
+\r
+ConfigAllowedExtensions.Add "Flash", "swf|flv"\r
+ConfigDeniedExtensions.Add "Flash", ""\r
+ConfigFileTypesPath.Add "Flash", ConfigUserFilesPath & "flash/"\r
+ConfigFileTypesAbsolutePath.Add "Flash", ""\r
+ConfigQuickUploadPath.Add "Flash", ConfigUserFilesPath\r
+ConfigQuickUploadAbsolutePath.Add "Flash", ""\r
+\r
+ConfigAllowedExtensions.Add "Media", "aiff|asf|avi|bmp|fla|flv|gif|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|png|qt|ram|rm|rmi|rmvb|swf|tif|tiff|wav|wma|wmv"\r
+ConfigDeniedExtensions.Add "Media", ""\r
+ConfigFileTypesPath.Add "Media", ConfigUserFilesPath & "media/"\r
+ConfigFileTypesAbsolutePath.Add "Media", ""\r
+ConfigQuickUploadPath.Add "Media", ConfigUserFilesPath\r
+ConfigQuickUploadAbsolutePath.Add "Media", ""\r
+\r
+%>\r