Forms Authentication & Windows Authentication

Discussion in 'ASP .Net Security' started by Stormbringer, Feb 26, 2007.

  1. Stormbringer

    Stormbringer Guest

    I have a .NET 2.0 web app that uses forms authentication to get around an
    issue with FireFox. FireFox will allow you to save the username/pass and this
    is a SOX no no.

    The objects in the web application call a Windows Authenticated web service.
    I do have the username and password so I can create a WindowsIdentity object.
    Question is, how do I get that to the web serivce?

    Or is there a better way to do this? I tried WSE 3.0 but the logic in the
    business logic gets very messy.

    Stormbringer, Feb 26, 2007
    1. Advertisements

  2. Stormbringer

    Joe Kaplan Guest

    Set the Credentials property on the web service proxy client object to a
    NetworkCredential object that contains the username and password you
    collected. You may also need the domain name.

    Joe K.
    Joe Kaplan, Feb 28, 2007
    1. Advertisements

  3. Stormbringer

    anders.rask Guest

    If user is already logged in you can use the session cookie as
    authentication to your web service using the

    see more here

    anders.rask, Apr 13, 2007
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.