简体   繁体   English

小型ASP.NET网站的Azure Active Directory

[英]Azure Active Directory for a small ASP.NET website

What are the pros and cons of Azure Active Directory to manage the accounts of a simple website (at most 10 accounts, just for login to control panel), instead of SQL membership provider or the new bogus identity system in my own database. Azure Active Directory用来管理一个简单网站的帐户(最多10个帐户,仅用于登录控制面板)的优点和缺点,而不是我自己的数据库中的SQL成员资格提供程序或新的虚假身份系统。 I never tried this service before but I like the fact that I don't need to take care of the database and credentials of my users, it's free and very secure I guess. 我以前从未尝试过此服务,但是我喜欢这样一个事实,即我不需要照顾用户的数据库和凭据,我猜它是免费的而且非常安全。 Someone has tested it in production? 有人在生产中测试过吗? any security advise? 有什么安全建议吗? thanks. 谢谢。

Among the many upsides there's that it is free, highly available, enterprise-grade and basically management-free - all flows for entering and changing passwords and similar are already implemented for you. 它具有许多优点,它们是免费的,高度可用的,企业级的,并且基本上是无管理的-输入和更改密码的所有流程以及类似的流程都已经为您实现。 Also, it can be used for both web sites and web API - so that if tomorrow you want to add a mobile app for the same user population, we've got you covered. 此外,它可用于网站和Web API-因此,如果明天您想为相同的用户群添加移动应用程序,我们将为您服务。 About having tested it in production... yes, there are many many (MANY) apps using AAD in production today. 关于在生产中对其进行测试...是的,当今有很多(MANY)应用在生产中使用AAD。 I guess that one possible downside for such a small use case is that all the defaults are set to a higher security level than you'd probably use in your scenario, translating in a bit more involvement from your users: passwords templates requiring special characters, mandatory password expiration, and so on. 我猜这么小的用例可能存在的一个弊端是,所有默认设置都被设置为比您在场景中可能使用的更高的安全级别,这意味着用户的参与度更高:需要特殊字符的密码模板,强制密码到期,等等。 Of course to me it's a good thing, but I am biased :-) Another current limitation is that the user names must be of the form alias@yourADdomain, as of today you cannot use an arbitrary string. 当然,对我来说这是一件好事,但我有偏见:-)另一个当前的限制是用户名的格式必须为alias @ yourADdomain,从今天起,您不能使用任意字符串。 That's usually not a big deal, but calling it out in case you have preexisting user names you need to stick to. 通常这没什么大不了的,但是如果您已有用户名,则需要大声疾呼。

HTH V. HTHV。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM