Scripting Language in a Sandbox for a C#/.NET Application

前端 未结 2 499
深忆病人
深忆病人 2021-01-02 23:26

[This question is similar to this one, but I am also interested in the possibility of a sandbox.]

I am considering embedding a scripting language in my C#/.NET appli

2条回答
  •  北海茫月
    2021-01-03 00:10

    You can load te script into a different AppDomain and control the permissions of the second AppDomain.

    This link should get you started:
    http://blogs.msdn.com/shawnfa/archive/2005/08/08/449050.aspx

提交回复
热议问题