Godaddy .net信任等级对asp.net程序的影响说明

出自美国主机知识库

在2011年12月14日 (三) 06:30由Bbidc (讨论 | 贡献)所做的修订版本
(差异) ←上一修订 | 最新修订 (差异) | 下一修订→ (差异)
跳转到: 导航, 搜索

GoDaddy .net信任等级对asp.net程序的影响说明

不少使用GoDadd windows主机的用户发现有些.net程序不能运行,经过查询资料得知:

GoDaddy虚拟主机.net 2.0是中等安全信任等级(medium trust), 而有些asp.net程序需要full trust所以安装出错,

还有些组件可以在asp和asp.net1.1中支持,但是在asp.net2.0/3.0/3.5中不能支持,

出现错误的用户可以试试把.net版本切换到1.1的试试

如果你的asp.net程序需要full trust,可以考虑下Ixwebhosting

具体在asp和asp.net1.1支持的组件可以参考:http://help.godaddy.com/article/1584

牵涉到专业词汇未进行翻译 原文如下:


Trust level refers to permissions set in the Web.config file that dictate what operations can and cannot be performed by Web applications. Our ASP.NET 3.5 shared hosting servers use the default Medium trust level with the addition of OleDbPermission, OdbcPermission, and a less-restrictive WebPermission.

Applications operating under a Medium trust level have no registry access, no access to the Windows event log, and cannot use ReflectionPermission (but can use Reflection). Such applications can communicate only with a defined range of network addresses and file system access is limited to the application's virtual directory hierarchy.

Using a Medium trust level prevents applications from accessing shared system resources and eliminates the potential for application interference. Adding OleDbPermission and OdbcPermission allows applications to use those data providers to access databases. WebPermission is modified to allow outbound http and https traffic

官方地址:http://help.godaddy.com/article/1039


更多关于Medium trust的相关内容:http://help.godaddy.com/search?q=+Medium+trust&x=0&y=0

还有问题?请到美国主机侦探提问吧!

内容导航GoDaddy | GoDaddy知识库 | GoDaddy优惠码 | GoDaddy官方网站 | Godaddy交流区 |

推荐内容Godaddy购买省钱攻略,轻轻松松节省50美元!!!

个人工具
名字空间
变换
动作
导航
工具/资源
工具箱