Forms Authentication using Xml File

Discussion in 'ASP .Net Security' started by smita, Jan 22, 2004.

  1. smita

    smita Guest

    Hi,

    May I know how can I use Forms Authentication without storing my
    credentials information in web.Config but in some other Xml file of my own .
    Since I am creating users at runtime I need to store username and passwords
    in a different xml file which i need to use to authenticate the users. But
    how do i inform Forms Authentication about this b'coz as far as i know it
    searches the credentials section in Web.Config file for authenticating the
    users.

    Any advice would be helpful.

    thanx,
    smita.
    smita, Jan 22, 2004
    #1
    1. Advertising

  2. Yes, try to check:
    http://msdn.microsoft.com/library/d...conusercredentialsfileusersxml.asp?frame=true


    HtH,
    Andrea

    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    "smita" <> wrote in message
    news:%...
    > Hi,
    >
    > May I know how can I use Forms Authentication without storing my
    > credentials information in web.Config but in some other Xml file of my own

    ..
    > Since I am creating users at runtime I need to store username and

    passwords
    > in a different xml file which i need to use to authenticate the users. But
    > how do i inform Forms Authentication about this b'coz as far as i know it
    > searches the credentials section in Web.Config file for authenticating the
    > users.
    >
    > Any advice would be helpful.
    >
    > thanx,
    > smita.
    >
    >
    >
    Andrea D'Onofrio [MSFT], Jan 23, 2004
    #2
    1. Advertising

  3. Good tip Andrea.
    Smita, if you need to usa a salted hash (a good thing to mitigate dic.
    atcks), you might check this article:
    http://msdn.microsoft.com/msdnmag/issues/03/08/SecurityBriefs/

    --
    Hernan de Lahitte - MSDE
    Lagash Systems S.A. - Buenos Aires, Argentina
    http://www.lagash.com



    "Andrea D'Onofrio [MSFT]" <> wrote in message
    news:...
    > Yes, try to check:
    >

    http://msdn.microsoft.com/library/d...conusercredentialsfileusersxml.asp?frame=true
    >
    >
    > HtH,
    > Andrea
    >
    > --
    > This posting is provided "AS IS" with no warranties, and confers no

    rights.
    >
    > "smita" <> wrote in message
    > news:%...
    > > Hi,
    > >
    > > May I know how can I use Forms Authentication without storing my
    > > credentials information in web.Config but in some other Xml file of my

    own
    > .
    > > Since I am creating users at runtime I need to store username and

    > passwords
    > > in a different xml file which i need to use to authenticate the users.

    But
    > > how do i inform Forms Authentication about this b'coz as far as i know

    it
    > > searches the credentials section in Web.Config file for authenticating

    the
    > > users.
    > >
    > > Any advice would be helpful.
    > >
    > > thanx,
    > > smita.
    > >
    > >
    > >

    >
    >
    Hernan de Lahitte, Jan 23, 2004
    #3
    1. Advertising

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. Eric
    Replies:
    2
    Views:
    1,353
    Tommy
    Feb 13, 2004
  2. Brett Smith
    Replies:
    2
    Views:
    438
    Brett Smith
    Oct 26, 2004
  3. JEFF
    Replies:
    1
    Views:
    996
    =?Utf-8?B?YnJpYW5zW01DU0Rd?=
    Nov 12, 2007
  4. Keltex
    Replies:
    1
    Views:
    379
    Dominick Baier [DevelopMentor]
    Jan 24, 2006
  5. Eric
    Replies:
    2
    Views:
    450
Loading...

Share This Page