IIS 文件权限

发布于 2024-07-16 18:25:54 字数 316 浏览 4 评论 0原文

我有一个应用程序,在进行维护时我试图限制其权限。 我使用 Windows 文件权限并删除对所有非管理员帐户运行应用程序的 dll 文件的访问权限,即:

cacls "%DLL_LOC%" /E /R BUILTIN\Users

然后我回收应用程序池(它正在我的开发环境来锁定用户):

cscript c:\windows\system32\iisapp.vbs /a "DefaultAppPool" /r

但运气不好,因为任何人仍然可以访问 dll 和应用程序。

任何进一步的想法都值得赞赏,因为我还没有获得一致应用的权限。

I have an app which I'm trying to restrict permissions to while I'm doing maintenance. I use windows file permissions and remove access to the dll file the app runs from for all non admin accounts, ie:

cacls "%DLL_LOC%" /E /R BUILTIN\Users

and then I recycle the application pool (which was working on my dev environment to lockout users):

cscript c:\windows\system32\iisapp.vbs /a "DefaultAppPool" /r

But no luck as anybody can still access the dll and the app.

Any further ideas are appreciated as I haven't gotten the permissions to consistently be applied.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

み零 2024-07-23 18:25:54

确保您正在编辑的文件没有继承上面文件夹的权限

Make sure that the file you are editing is not inheriting its permissions from the folder above.

酷炫老祖宗 2024-07-23 18:25:54

因此,在尝试阻止网络端口以寻求解决方法并重新启动计算机两到三次之后,用户被阻止了。

抱歉,简单地重新启动修复了 XP。

So after a couple of illfated attempts at trying to block network ports for a workaround and restarting the machine two or three times the users are blocked.

Sorry for the simple restart fix XP.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文