[英]IIS Permissions to VirtualPrinter
I have the following case, 我有以下情况,
I'm running an IIS-hosted application that checks a VirtaulPrinter queue at set interval and empty it on certain conditions by using - 我正在运行一个IIS托管的应用程序,它以设定的间隔检查VirtaulPrinter队列,并在某些条件下使用 - 清空它
_printer.InvokeMethod("CancelAllJobs", null);
Giving the VirtualPrinter full permission to Everyone works fine, but giving write and modify permission just to IUSR results in no access permission exception. 为所有人提供VirtualPrinter完全权限工作正常,但仅向IUSR提供写入和修改权限不会导致访问权限异常。
I would prefer to avoid giving the Virtual Printer full access to everyone and give permission only to the my IIS-hosted application. 我宁愿避免让虚拟打印机完全访问所有人,只允许我的IIS托管应用程序。
Do I need to give permissions to another group? 我是否需要授予其他群组权限?
您可能需要检查您的网站正在使用的应用程序池标识的权限。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.