开发者

Stopping a third party assembly from accessing resources

开发者 https://www.devze.com 2022-12-21 10:21 出处:网络
We ha开发者_Go百科ve a third party library referenced in our project, but without access to the source I don\'t really know what it\'s doing under the hood and there\'s too much code to check it out w

We ha开发者_Go百科ve a third party library referenced in our project, but without access to the source I don't really know what it's doing under the hood and there's too much code to check it out with Reflector.

Is there any easy way to completely sandbox it so it can't access the file system, network, registry etc.?

I'm trying to get up to speed with security, but it's a huge topic.


http://www.csharp411.com/executing-code-in-partial-trust-environments/

Look at configuring the assembly for partial trust. The article should give you the basics to help you get started... (or to know where else to look)

Hope this helps!

0

精彩评论

暂无评论...
验证码 换一张
取 消