当直接使用下面链接访问站点文件时无法访问:http://test.test.com/sites/test1/test.sd/aa.xls
但在站点通过folder点击可以访问。
原因如下:
SharePoint, by default, blocks a variety of file types. IIS also blocks any file type that does not have a defined MIME Type or is specified in the HttpForbiddenHandler. The default list is:
.asax, .ascx, .master, .skin, .browser, .sitemap, .config, .cs. .csproj, .vb, .vbproj, .webinfo, .licx, .resx, .resources, .mdb, .vjsproj, .java, .jsl, .ldb, .ad, .dd,
.ldd, .sd, .cd, .adprototype, .lddprototype, .sdm, .sdmDocument, .mdf, .ldf, .exclude, .refresh