如何在 BetterAuthorizationSample 中禁用身份验证?
我实现了 BetterAuthorizationSample,希望用户不会受到权限操作的身份验证对话框的轰炸。该实现大部分有效,但是它确实需要用户进行一次身份验证。我想一起禁用身份验证。这可以通过 BetterAuthorizationSample 实现吗?
有什么建议吗?
谢谢。
I've implemented the BetterAuthorizationSample for the hope that the user would not be bombarded with the authentication dialog box for privilege operations. The implementation mostly works, however it does require the user to authenticate once. I want to disable authentication all together. Is this possible with the BetterAuthorizationSample?
Any suggestions?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,
这完全违背了授权的目的。如果有任何方法可以让应用程序在未经用户明确同意的情况下执行特权操作,那么恶意程序就可以为所欲为。
No.
This completely defeats the purpose of authorization. If there was any way for applications to perform privileged operations without the user's express consent, then malicious programs would be free to do whatever they wish.