However , when you create a web site project in an http location , iis serves static files without using authorization rules 但是,在http位置创建网站项目时, iis将提供静态文件而不使用授权规则。
If you save a report that has interactive features , those features are not reflected in a report that you save as a static file 如果保存包含交互式功能的报表,这些功能在另存为静态文件后的报表中将无法体现。
By default , static files , such as images and style sheets , are not subject to asp . net authorization when they are served through iis 默认情况下,通过iis提供的静态文件(如图像和样式表)无需经过asp . net授权。
You can use iis security features to restrict access to static files if you do not want all users to be able to access the files 如果不希望所有用户都能够访问静态文件,可以使用iis安全性功能限制对这些文件的访问。
For example , static files in a file system web site will not be served to an anonymous user when anonymous access to those files is disabled 例如,禁止匿名访问文件系统网站中的静态文件时,将不会为匿名用户提供这些文件。
All files are downloaded to the clickonce application cache and are therefore isolated to the current version of the application 所有静态文件均被下载到clickonce应用程序的数据目录中。因此,这些文件独立于当前版本的应用程序。
For example , static files in a file - system web site will not be served to an anonymous user when anonymous access to those files is disabled 例如,如果禁用了对静态文件的匿名访问,匿名用户则不能使用文件系统网站中的静态文件。
This is because static files are subject to asp . net authorization and will not be served to an anonymous user when anonymous access to those files is disabled 这是因为静态文件受asp . net授权的影响,如果禁用匿名访问,匿名用户则不能使用这些文件。
Alternatively , you can map static file name extensions in iis to the asp . net isapi extension , in which case the asp . net authorization rules will apply 此外,可以将iis中的静态文件扩展名映射到asp . net isapi扩展名,在这种情况下,将应用asp . net授权规则。
If a file type is mapped to an application extension , it does not need to be included in the mime types list unless you want the file to be treated like a static file 如果某个文件类型已映射到应用程序扩展,则不需要将该类型包括在mime类型列表中,除非您要将该文件作为静态文件来处理。