Admin.config
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:3k
源码类别:

OA系统

开发平台:

C#

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <security name="RestrictUploadedImageDimension">true</security>
  4. <security name="OverWriteExistingUploadedFile">false</security>
  5. <security name="UseTimeStampRenameUploadedFiles">false</security>
  6. <security name="AutoResizeUploadedImages">true</security>
  7. <security name="MaxImageWidth">1024</security>
  8. <security name="MaxImageHeight">768</security>
  9. <security name="MaxImageSize">200</security>
  10. <security name="MaxMediaSize">10000</security>
  11. <security name="MaxFlashSize">1000</security>
  12. <security name="MaxDocumentSize">10000</security>
  13. <security name="MaxTemplateSize">1000</security>
  14. <security name="ImageGalleryPath">~/uploads</security>
  15. <security name="MediaGalleryPath">~/uploads</security>
  16. <security name="FlashGalleryPath">~/uploads</security>
  17. <security name="TemplateGalleryPath">~/templates</security>
  18. <security name="FilesGalleryPath">~/uploads</security>
  19. <security name="MaxImageFolderSize">102400</security>
  20. <security name="MaxMediaFolderSize">102400</security>
  21. <security name="MaxFlashFolderSize">102400</security>
  22. <security name="MaxDocumentFolderSize">102400</security>
  23. <security name="MaxTemplateFolderSize">102400</security>
  24. <security name="ThumbnailWidth">80</security>
  25. <security name="ThumbnailHeight">80</security>
  26. <security name="ThumbnailColumns">5</security>
  27. <security name="ThumbnailRows">3</security>
  28. <security name="AllowUpload">true</security>
  29. <security name="AllowModify">true</security>
  30. <security name="AllowRename">true</security>
  31. <security name="AllowDelete">true</security>
  32. <security name="AllowCopy">true</security>
  33. <security name="AllowMove">true</security> <!-- this is rename too -->
  34. <security name="AllowCreateFolder">true</security>
  35. <security name="AllowDeleteFolder">true</security>
  36. <security name="ImageFilters">
  37. <item>.jpg</item>
  38. <item>.jpeg</item>
  39. <item>.gif</item>
  40. <item>.png</item>
  41. </security>
  42. <security name="MediaFilters">
  43. <item>.avi</item>
  44. <item>.mpg</item>
  45. <item>.mpeg</item>
  46. <item>.mp3</item>
  47. <item>.wav</item>
  48. </security>
  49. <security name="DocumentFilters">
  50. <item>.txt</item>
  51. <item>.doc</item>
  52. <item>.pdf</item>
  53. <item>.zip</item>
  54. <item>.rar</item>
  55. <item>.avi</item>
  56. <item>.mpg</item>
  57. <item>.mpeg</item>
  58. <item>.mp3</item>
  59. <item>.wav</item>
  60. <item>.swf</item>
  61. <item>.jpg</item>
  62. <item>.jpeg</item>
  63. <item>.gif</item>
  64. <item>.png</item>
  65. <item>.htm</item>
  66. <item>.xls</item>
  67. <item>.html</item>
  68. <item>.rtf</item>
  69. </security>
  70. <security name="TemplateFilters">
  71. <item>.txt</item>
  72. <item>.rtf</item>
  73. <item>.html</item>
  74. <item>.htm</item>
  75. <item>.xml</item>
  76. </security>
  77. <security name="filenamePattern">^[a-zA-Z0-9._s-]+$</security>
  78. </configuration>