is it possible to use iis 7 to manage users when using forms authentication with asp.net

泄露秘密 提交于 2019-12-04 14:10:32

问题


I have an ASP.NET web application that is using forms authentication. Everything is configured and working correctly. However, i'm dealing with the issue of creating and maintaining users and role membership.

I know that I can roll my own solution but I'm wondering if there is an alternative solution?

Does iis7 provide screens for managing forms authentication users? Is there a reliable, free solution that someone would recommend?

Thanks!


回答1:


Not a solution, but a temporary workaround...

In Visual Studio there is Website -> "ASP.NET Configuration" menu item that will start a little administration app where you can manage users and roles. However, this is very rudimentary, and VERY slow.

I don't know how much time you had, but the framework for FormsAuthentication is good and you would only need to create a few forms to "roll your own". I've actually been thinking about making something like this for a long time, but usually the built in Configuration utility is enough, or the CMS' we work with have their own authentication management modules.




回答2:


With Asp.Net MVC, you can try the mvcmembership starter kit.

What would be really cool if someone implemented all this into a Portable Area.




回答3:


I have been unable to find anything with IIS7 that would allow management of forms-authentication users.

However, I have found the following alternatives...

WinForm: http://sourceforge.net/projects/aspnetdb/

WebBased: http://www.asp.net/Learn/Security/tutorial-12-cs.aspx




回答4:


Another option:

http://mywsat.codeplex.com/

See also these related questions:

User management in Silverlight, create custom UI or use ASP.NET website administration tool?

How do I manage ASP.Net users on a non development server?



来源:https://stackoverflow.com/questions/2494497/is-it-possible-to-use-iis-7-to-manage-users-when-using-forms-authentication-with

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!