IIS权限VirtualPrinter [英] IIS Permissions to VirtualPrinter

查看:183
本文介绍了IIS权限VirtualPrinter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下的情况下,

我运行,检查一个VirtaulPrinter队列设定的时间间隔一个IIS托管的应用程序,并通过清空在一定条件下 -

I'm running an IIS-hosted application that checks a VirtaulPrinter queue at set interval and empty it on certain conditions by using -

_printer.InvokeMethod("CancelAllJobs", null);

给予VirtualPrinter完整权限,每个人都工作正常,但给人的写入和修改权限只是IUSR结果中没有访问权限例外。

Giving the VirtualPrinter full permission to Everyone works fine, but giving write and modify permission just to IUSR results in no access permission exception.

我会preFER,以避免给虚拟打印机完全进入每个人只有到了我的IIS承载的应用程序给予许可。

I would prefer to avoid giving the Virtual Printer full access to everyone and give permission only to the my IIS-hosted application.

我是否需要给权限给另一组?

Do I need to give permissions to another group?

推荐答案

您可能需要检查权限的应用程序池您的网站正在使用的标识。

You may need to check the permissions for the identity of the Application Pool that your website is using.

这篇关于IIS权限VirtualPrinter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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