从.net for IIS 8中的其他virtula目录文件夹中显示图像所需的权限。 [英] Permission required to dispaly images from the other virtula directory folder in .net for IIS 8.

查看:69
本文介绍了从.net for IIS 8中的其他virtula目录文件夹中显示图像所需的权限。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个网站上创建了许多虚拟目录(在端口80之外的新端口上)。我需要访问其他虚拟目录中的图像以显示在应用程序中。当我在本地和局域网上运行应用程序时,它正在工作。但是当它上线时,图像不会显示。我已经允许IIS用户访问该文件夹,但它也无效。

我正在使用Windows Server 2012并在IIS 8中设置应用程序。

I have created many virtual directories in one web site (On the new port other then port 80). I need to access images from the other virtual directory to display in the application. It is working when I run application locally and from the LAN. But when it goes live images is not displayed. I have give permission to IIS User to that folder but it is also not working.
I am using windows server 2012 and set up application in IIS 8.

推荐答案

也许您的用户浏览器会将每个虚拟目录视为不同的域,并且不允许跨站点操作。



在IE 11安全性中跨域的其他访问数据源设置为提示。
Perhaps your users browsers consider each of the virtual directories to be a different domain and is not allowing cross-site operations.

In IE 11 Security miscellaneous Access Data Source across domains is set to prompt.


这篇关于从.net for IIS 8中的其他virtula目录文件夹中显示图像所需的权限。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆