IIS 文件权限
我有一个应用程序,在进行维护时我试图限制其权限。 我使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确保您正在编辑的文件没有继承上面文件夹的权限。
Make sure that the file you are editing is not inheriting its permissions from the folder above.
因此,在尝试阻止网络端口以寻求解决方法并重新启动计算机两到三次之后,用户被阻止了。
抱歉,简单地重新启动修复了 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.