使用 Azman 和 Store 进行 Asp.net 授权 - xml、adam、sql ..等
我正在我的 asp.net Web 应用程序中设置 Azman 进行授权。我可以将 Azman 存储为 XML、ADAM 或 Sql 服务器。 我的问题是,哪种存储(XML、ADAM、Sql 等)在什么场景下更好。
请帮忙。 谢谢/尤格什
I am setting up Azman for authorization in my asp.net web application. I can have the Azman store as XML or ADAM or Sql server.
My question is, which store (XML,ADAM,Sql,..etc) is better in what scenarios.
Please help.
Thanks/Yogesh
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们使用 XML 进行测试。如果我需要将其作为小型轻量级应用程序的一部分进行分发(可能分发到断开连接的笔记本电脑等),我也会使用它。
我们将 AD 用于中小型应用程序,其中访问控制需要由集中管理组进行管理,只要应用程序不会对 AD 服务器造成太大负担。另外,对于安全性非常高的应用程序,我还需要 AD 进行审计(深度不可否认防御)。
如果我们的应用程序使用率非常高并且具有中度或重度 AzMan 依赖性,我肯定会将其存储在 AD-LDS(又名 ADAM)中。
如果我正在制作一个可以利用复制的全球分布式应用程序,我可能会考虑 SQL Server。我不确定我是否充分理解使用 SQL Server 的价值。
We use XML for testing. I would also use it if I needed to distribute it as part of a small, lightweight app (maybe to disconnected laptops, etc.).
We use AD for small- to medium-sized apps where access control needs to be managed by a centralized administrative group, as long as the apps don't pound too heavily on the AD server. Also, for very high security apps, I would also need AD for auditing (non-repudiation defense in depth).
If we had apps that were very heavily used and had moderate or heavy AzMan dependencies, I would certainly store that in AD-LDS (aka ADAM).
I would probably consider SQL Server if I were making a world-wide distributed app that could take advantage of replication. I am not sure I get the value of using SQL Server very much.