简体   繁体   English

用户注册的最佳实践或设计模式是什么?

[英]What's the best practice or design pattern for user registration?

We have a big portal that needs user registration to allow them use its services. 我们有一个大型门户网站,需要用户注册才能允许他们使用其服务。 It's already done in .NET and SOL Server 2005. We are in the phase now of discovering all the problems of the current registration system to build a new robust and flexible one that can be extended easily and can be more usable for all services. 它已经在.NET和SOL Server 2005中完成。我们现在处于发现当前注册系统的所有问题的阶段,以构建一个新的健壮和灵活的系统,该系统可以轻松扩展并且可以用于所有服务。

What are some best practices and design patterns to rebuild this using good architectural practices? 有哪些最佳实践和设计模式可以使用良好的建筑实践来进行重建?

This question is really too open ended to give a good answer to. 这个问题真的太开放了,无法给出很好的答案。 However, I would recommend using the built-in Membership stuff: http://msdn.microsoft.com/en-us/library/tw292whz%28v=VS.100%29.aspx 但是,我建议使用内置的Membership成员: http : //msdn.microsoft.com/zh-cn/library/tw292whz%28v=VS.100%29.aspx

you can start with the built-in membership component. 您可以从内置的成员资格组件开始。 You can modify that if you need to by modifying the source code. 如果需要,可以通过修改源代码进行修改。

I would recommend Rhino.Secuirty http://weblogs.asp.net/arturtrosin/archive/2009/04/02/rhino-tools-rhino-security-guide.aspx . 我会推荐Rhino.Secuirty http://weblogs.asp.net/arturtrosin/archive/2009/04/02/rhino-tools-rhino-security-guide.aspx

It takes a while to get used to but once you're there you'll see its beauty. 这需要一段时间才能习惯,但是一旦到达那里,您就会看到它的美丽。

I guess open ended questions receive open ended answers :). 我猜开放式问题会收到开放式答案:)。

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

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