2012-10-17 53 views
0

我目前正在研究papertrail,並發現它非常有趣。 但是,我的Web應用程序將部署到我無法控制的Web服務器。 的問題是,我用這個解決方案將日誌發送到papertrail: http://help.papertrailapp.com/kb/configuration/nlog-net-loggingPapertrail和代碼訪問安全

而且我看到它,我不能與中等信任級別在網站上發送日誌的方式: http://technet.microsoft.com/en-us/library/cc754779.aspx

這是正確的? 你有在中型信託網站上使用papertrail的經驗嗎?

回答

2

是的,你是對的:

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.** 

至於我能看到的是利用網絡做記錄到外部網站/服務的papertrail記錄。

+0

看起來是正確的答案,但我想看看是否有人有實際的經驗... – khebbie

+1

你可以自己嘗試一下,但我不認爲任何人有它在中等信任的網絡服務器上工作。您應該尋找其他託管公司或更改您的規格/要求。 – Peter

相關問題