質問

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?

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top