0

HI
I am developing a part of asp.net web site as a training project.
My part is creating authentication structure and authorization. Can any body please tell me are there any way to do this except using sql membership provider. Because we have to implement according to the class definitions given by our analyst. I want to know are there any possibility to get it conflicts if I use sql membership provider, because it create its own database.

4
Contributors
6
Replies
8
Views
7 Years
Discussion Span
Last Post by guru_sarkar
0

Because we have to implement according to the class definitions given by our analyst.

Can you explain that a bit.

Do you mean you don't want to use default database used by SqlMembership Provider?

0

Can you explain that a bit.

Do you mean you don't want to use default database used by SqlMembership Provider?

Yse thats right. Can I modify that default database as I wish? And I want to know whether I can implement without using sql membership provider. If it is so, please give me a reference.
Thanks

1

By defult, SQL membership provider creates the database with name 'aspnetdb'. But you can use your own database to create tables related to membership provider.

Also the tables and stored procedures are prefixed with 'aspnet'. The views are prefixed with 'vw_aspnet'. Therefore chances are very remote to conflict with other tables related to your application.

Also if you want to implement authentication and role management without using membership provider, then you need to develop your own implementation which may need a lot of efforts.

Edited by Ramesh S: n/a

Votes + Comments
Nice explanation
0

If I use sql membership provider, how I connect tables of my application with, auto generated tables. because analyst have given the schema of database to our group.

0

Looks either you are misunderstanding Sql Membership or I am still unable to get your question. So..
1: Sql Memberhship provider uses Membership tables provied by MS. Do you want to use any of those tables ?
2: Your analyst has DB schema...so does that include tables related to User login, roles management etc?

Let me explain a bit. Membership Provider and SqlMembershipProvider are although same but different. SqlMembershipProvider extends MembershipProvider class to implement functionality that use Default MembershipDB schema.
You can write your own Custom Membership provider (like SqlMP) extending MembershipProvider class. It is a bit of work.

Check here in action: http://www.asp.net/learn/videos/video-189.aspx

So hope that will help you understand more on this and you can tell us more on what exactly we are missing here in your question.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.