且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从ASP.NET Web服务访问Windows应用程序?

更新时间:2022-11-06 13:36:26

您无法从服务器在客户端计算机上运行应用程序:这绝对是来自安全点的禁止操作观点。交互(和应用程序)必须由用户在客户端启动并请求来自服务器的操作,而不是反过来。



想一想:如果您的服务器可以在您的PC上运行应用程序,以便恶意网站。想要访问一个在您的PC上运行勒索软件应用程序而不做任何事情的网站?我不知道......
You cannot run an application on a client machine from a server: that is absolutely a forbidden action from a security point of view. The interaction (and the application) must be started by the user on the client and request actions from the server, not the other way round.

Think about it: if your server could run an app on your PC so could malicious sites. Want to visit a site that runs a ransomware app on your PC without you doing anything? Becaue I don't...