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 -
_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.
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?
您可能需要检查您的网站正在使用的应用程序池标识的权限。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.