windows-virtual-pc

How to provide isolation?

我们两清 提交于 2020-01-15 10:12:18
问题 I have a need to allow my users to execute .NET code that they provide on my server. I know security is a big concern, but it has to be done that way. Currently, I run my users' code under a limited Windows account. But, I am worried that .NET framework provides many classes that, if used maliciously, can harm the server -- classes under the Reflection namespace is one example, CodeDom is another concern. I wish there was a way to create a "lightweight virtual environment" that can run .NET

How to provide isolation?

天大地大妈咪最大 提交于 2020-01-15 10:09:39
问题 I have a need to allow my users to execute .NET code that they provide on my server. I know security is a big concern, but it has to be done that way. Currently, I run my users' code under a limited Windows account. But, I am worried that .NET framework provides many classes that, if used maliciously, can harm the server -- classes under the Reflection namespace is one example, CodeDom is another concern. I wish there was a way to create a "lightweight virtual environment" that can run .NET

How to give an announce message before forcing users to logoff on remote desktop?

妖精的绣舞 提交于 2020-01-15 05:40:10
问题 I want to give the users an announce before the virtual machine shutdown. Background: 1, 10 users sign on one virtual machine (Windows Virtual Desktop: Windows 10) 2, The virtual machine will shut down at 10:00 pm, and I want to give users an announce at 9:55 pm to let them know that. 3, I want to use the task schedule and script work together to achieve the goal. Is there have someone who knows how to write the script? Here is some code for reference: <Variable Name=