Link to home
Create AccountLog in
Avatar of allanmark
allanmark

asked on

ASP.NET and user roles and passwords

Greetings

I am about to enter the "murkey" world of roles/users/logging in and want to start off on the right foot.

As I understand it, I use the ASP.NET Configuration tool to creatre/modify my users.

My questions:

(1)  Once I have deployed my application, how does the customer manage users? Do I have to deploy
       additional tools? Is it done automatically?
(2)  How does a user change his/her password? Is it possible to do this from within the application (via a
      "User Change Details" page) ?? How do I access that user data?

In advance, many thanks!
SOLUTION
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
The administration pages from the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles\Security\Users and C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles\Security\Roles
directory and then modified:
  1) replace <%@ MasterType virtualPath="~/WebAdminWithConfirmation.master" %> with your master page
  2) replace calls to CallWebAdminHelper...() with Membership and Roles API calls
  3) replace <%$ Resources: with your custom strings (they can probably just be hard coded

For users managing themselfs (ie recovering/changing passwords) you will have to write your own pages with the help of <asp:PasswordRecovery> controls just as Dhaest's link describes
Avatar of allanmark
allanmark

ASKER

Thanks!!  - Have had a brief squiz at the above - some serious weekend reading oming up.

I still am unsure on the following:

1,  How to provide the user management - add.change/delete users, user changing his password - to
     my customer. Obviously I don't want him having the ASP.Net configuartion tool or fo I ??)

2.  Where in SQL Server does it store the membership details?
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.