login control and custom db

Discussion in 'ASP .Net Security' started by ken s, Oct 27, 2006.

  1. ken s

    ken s Guest

    I'm creating an ASP.NET 2.0 web application. I want to use the login
    control to validate users using my existing SQL 2005 database (stores
    username, password, and role)

    The documentation seems to want me to create this new aspnet db and use
    roles and memberships.

    Can I simply use my own database along with the login control?
     
    ken s, Oct 27, 2006
    #1
    1. Advertisements

  2. you can simply handle the Authenticate event and set e.Authenticated to your
    authentication outcome.

    ---
    Dominick Baier, DevelopMentor
    http://www.leastprivilege.com

    > I'm creating an ASP.NET 2.0 web application. I want to use the login
    > control to validate users using my existing SQL 2005 database (stores
    > username, password, and role)
    >
    > The documentation seems to want me to create this new aspnet db and
    > use roles and memberships.
    >
    > Can I simply use my own database along with the login control?
    >
     
    Dominick Baier, Oct 28, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jonah Olsson
    Replies:
    1
    Views:
    769
    Scott Allen
    Apr 5, 2005
  2. ike2010
    Replies:
    0
    Views:
    836
    ike2010
    Nov 15, 2005
  3. J R M
    Replies:
    2
    Views:
    630
    Charlie@CBFC
    Jun 1, 2006
  4. ad

    Can login with Login Control

    ad, Aug 28, 2006, in forum: ASP .Net
    Replies:
    9
    Views:
    1,187
    Tim_Mac
    Aug 31, 2006
  5. =?ISO-8859-1?Q?Carlos_Guzm=E1n_=C1lvarez?=

    Problem with Login Control and Custom Membership provider

    =?ISO-8859-1?Q?Carlos_Guzm=E1n_=C1lvarez?=, Jan 22, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    592
    =?ISO-8859-1?Q?Carlos_Guzm=E1n_=C1lvarez?=
    Jan 22, 2007
  6. Replies:
    0
    Views:
    894
  7. Matt Sokol
    Replies:
    2
    Views:
    626
    Theo Tillotson
    Aug 7, 2003
  8. Jonah Olsson
    Replies:
    2
    Views:
    375
    Jonah Olsson
    Apr 5, 2005
Loading...