服务可以做什么? [英] What can services do?

查看:92
本文介绍了服务可以做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。



我正在写一个用cscript运行javascript文件的服务。



我有两个应用程序 - client.exe和service.exe。客户端向服务发送带有参数的cscript.exe请求。



javascript文件用于安装软件 - wpkg.js

我尝试创建服务以作为每种类型的LocalService,LocalSystem和NetworkService运行。



是否有人帮助我了解LocalSystem的权限以及它能做些什么?

我很担心LocalSystem服务是否可以读取所有注册表项。





谢谢,

Paul。

Hello, Everybody.

I''m writing a service which runs javascript file with cscript.

I have two apps - client.exe and service.exe. Client sends the service a request to run cscript.exe with parameters.

The javascript file is for installing software - wpkg.js
I tried to create service to run as each type of LocalService, LocalSystem and NetworkService.

Would anyone help me understand LocalSystem''s privilleges and what it can do exactly?
I''m concerned about if LocalSystem service can read all of registry keys.


Thanks,
Paul.

推荐答案

来自微软说 [ ^ ]看起来LocalSystem将拥有您将需要的所有权限和访问权限。

但是,如果您可以成功运行 LocalService [ ^ ]那么这可能被视为较低的安全风险,您可能不需要审核代码的每一行,具体取决于根据您的客户要求。
From what Microsoft say[^] it looks like LocalSystem will have all the privilleges and access you will ever need.
However if you can run successfully as LocalService[^] then that may be considered a lower security risk and you may not need to audit every line of your code depending on your customer requirements.


这篇关于服务可以做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆