Authentication issues

Discussion in 'ASP .Net' started by =?Utf-8?B?U2ltb24gU21pdGg=?=, May 19, 2004.

  1. Hi

    I have a small ASP.NET application that is running on a dedicated web server. This application is attempting to make a remote DCOM call to another server in order to log into another system as a specified user. The user should be be IIS authenticated user

    I am getting what I believe is some strange behaviour...I have tested the following combinations (IIS Anonymous access is off in all of these)

    1. machine.config <impersonate = false>, IIS Basic Authentication off, Integrated Windows Authentication on. In this config, the application does not work, causing an "Access denied" error when attempting to create a connection to the remote databas
    2. machine.config <impersonate = true user & password supplied>. This works fine in all configurations, however I require the login to be done with the username of the user connecting to the site, not this specified use
    3. machine.config <impersonate = true no username/password supplied>, IIS Basic Authentication off, Integrated Windows Authentication on. This causes the same error shown in (1
    4. machine.config <impersonate = true no username/password supplied>, IIS Basic Authentication on, Integrated Windows Authentication on. This allows the user access to the page, but then requests a username/password login when attempting to create the remote connection. No username allows access, however, and the user is given "Not authorised" pag
    5. machine.config <impersonate = true no username/password supplied>, IIS Basic Authentication on, Integrated Windows Authentication off. This works perfectly

    I am a little jumpy about using only Basic Authentication for this application, as I think we need a little more security than that.

    I suppose my basic question is why does this work when the user is forced to login (basic authentication) and not work when the username is found using Integrated Windows authentication? What is different between the two authenticated users

    This has been driving me mad for a while now, so any help is gratefully accepted!

    Thank

    Simon
    =?Utf-8?B?U2ltb24gU21pdGg=?=, May 19, 2004
    #1
    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. Shikari Shambu

    ASP.NET Authentication / Impersonation issues

    Shikari Shambu, Aug 17, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    488
    Shikari Shambu
    Aug 17, 2004
  2. Replies:
    6
    Views:
    7,523
  3. Ray Slakinski
    Replies:
    1
    Views:
    736
    John J. Lee
    Nov 8, 2005
  4. Larry
    Replies:
    2
    Views:
    151
    Yan-Hong Huang[MSFT]
    Jul 30, 2003
  5. developer
    Replies:
    2
    Views:
    199
    [MSFT]
    Aug 31, 2004
Loading...

Share This Page