Forms authentication with Windows authentication

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Forms authentication with Windows authentication

    Hi,

    I have an ASP.NET web site that uses IIS Basic Authentication and accesses
    an OLAP Server at various stages. The OLAP Server authentication mechanism
    relies on Windows accounts and therefore when a new user needs access to the
    system we must create a new Windows user account for him.

    This is a 3-year old application and at the time it was decided to let the
    OLAP Server handle the filtering of information returned to the client based
    on his supplied Windows user account (I wasnīt there at the time). Now Iīm
    trying to figure out how we can allow users from other sites enter ours
    without explicitly logging in. That is, I need to make it possible for our
    clients to come from a web site A, where they have been authenticated, and
    enter ours by sending us the userīs credentials for authentication,
    effectively making the dialog box redundant.

    This puts the burden on our site to have an API of sorts (most likely just
    another .aspx page) that can receive a username and password and use that to
    authenticate the incoming user. What I need here is to take the credentials,
    authenticate them somehow (most likely with the LogonUser API) and then do
    something with the result so that after this, all calls from the user will
    have the resulting Windows user credentials associated with it.

    Does this call for impersonation or do I need to replace the Principal for
    the entire context for this user somehow?

    Any suggestions or comments truly appreciated.

    Regards,
    Dadi.


    Dadi Guest

  2. Similar Questions and Discussions

    1. Windows and Forms Authentication together ???
      Hi, I am trying to create a site that will be used by both employees and external users, so both types of users trying to access the same pages. ...
    2. Forms authentication <-> Windows user?
      Hi, I'm new in ASP.NET and I've got a question about authentication in an intranet application: I want to authentify and authorize the user by...
    3. Forms and Windows Authentication
      Hello! I have a project that I'm working on and have some thoughts on how to secure it but was hoping to get suggestions on the feasibility of my...
    4. Windows and Forms Authentication
      Hi, I need some help on building a security model for an intranet I am currently building. I am aware that Intranets lend themselves quite...
    5. Forms / Windows Authentication
      I have an application where I would like to present a nice HTML based login page but log the user in using Windows Authentication. I know that...
  3. #2

    Default Re: Forms authentication with Windows authentication

    Any response about this? I have a similar situation and was wonder how to
    best resolve it.

    Thanks,
    Joe

    "Dadi" <dadi@hugur.is> wrote in message
    news:eFSMR87dDHA.3260@TK2MSFTNGP09.phx.gbl...
    > Hi,
    >
    > I have an ASP.NET web site that uses IIS Basic Authentication and accesses
    > an OLAP Server at various stages. The OLAP Server authentication mechanism
    > relies on Windows accounts and therefore when a new user needs access to
    the
    > system we must create a new Windows user account for him.
    >
    > This is a 3-year old application and at the time it was decided to let the
    > OLAP Server handle the filtering of information returned to the client
    based
    > on his supplied Windows user account (I wasnīt there at the time). Now Iīm
    > trying to figure out how we can allow users from other sites enter ours
    > without explicitly logging in. That is, I need to make it possible for our
    > clients to come from a web site A, where they have been authenticated, and
    > enter ours by sending us the userīs credentials for authentication,
    > effectively making the dialog box redundant.
    >
    > This puts the burden on our site to have an API of sorts (most likely just
    > another .aspx page) that can receive a username and password and use that
    to
    > authenticate the incoming user. What I need here is to take the
    credentials,
    > authenticate them somehow (most likely with the LogonUser API) and then do
    > something with the result so that after this, all calls from the user will
    > have the resulting Windows user credentials associated with it.
    >
    > Does this call for impersonation or do I need to replace the Principal for
    > the entire context for this user somehow?
    >
    > Any suggestions or comments truly appreciated.
    >
    > Regards,
    > Dadi.
    >
    >

    Joe Camp Guest

  4. #3

    Default Re: Forms authentication with Windows authentication

    have you thought about protecting the content by originating IP address
    (from the partner).

    then you can assign them a cookie, or perhaps log them in via basic
    authentication with a random username and password.

    or you can always protect the rest of your content by referrer.

    you can contact me offline if you want further clarification.


    [email]scott@flicks.com[/email]







    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Scott Scott Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139