造纸和代码访问安全性



我目前正在研究造纸,发现它非常有趣。但是,我的Web应用程序将部署到我不控制的Web服务器上。问题在于我使用此解决方案将日志发送到纸质图案:http://help.papertrailapp.com/kb/configuration/nlog-net-logging

和我看到的方式,我无法在具有中等信任级别的网站上发送日志:http://technet.microsoft.com/en-us/library/cc7547799.aspx

这是对的吗?您是否有在中等信托网站上使用造纸的经验?

是的,你是正确的:

Medium (web_mediumtrust.config) - Specifies a medium level of code access security, which means that, in addition to High Trust Level restrictions, the ASP.NET application cannot do any of the following things by default:
 Access files outside the application directory.
 Access the registry.
 **Make network or Web service calls.** 

据我所知,是使用网络进行登录到外部站点/服务的造纸记录器。

最新更新