Impersonate, Windows Authentication and Database Access

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

  1. #1

    Default Impersonate, Windows Authentication and Database Access

    Hi everyone,

    I am having problems in my Intranet web site. I recently changed the
    authentication mode from forms to windows. I turned "OFF" the anonymous
    access on the IIS security settings and turned "ON" the impersonate on my
    Web.config.

    That is ok, I am impersonating the user currently logged on each workstation
    and it was working fine.

    The problem is that I just can execute a query on my Access database using
    OleDb for users that are members of the local Administrators group. For the
    rest of them i received an "System.Data.OleDb.OleDbException: Unspecified
    error" message.

    Everyone has "Full Control" over the whole web site folder, the bin folder,
    database, all of them and their respective files (*.mdb, *.dll).

    What's going one here? Help me!

    The only thing I can do is add all the users to the local Administrators
    group, and then it works.

    Cheers,

    Fabrício


    Fabricio Sperandio Guest

  2. Similar Questions and Discussions

    1. Using Windows Integrated Authentication to access Active Directory
      Hi, I have disabled "Anonymous Access" & enabled "Integrated Windows Authentication" on the web server for my ASP.NET application. My Web.config...
    2. Windows authentication on a Web service returning Access Denied (401).
      Hey, I've been asked to look into network security where an IIS virtual directory is configure to not have anonymous access, but rather to go...
    3. Access Denied using Windows Authentication. WSE 2.0
      Subject: Access Denied using Windows Authentication. WSE 2.0 When using custom authentication (using the UsernameTokenManager interface.) I...
    4. Best approach for database/windows authentication integration?
      We have an ASP.NET application that consists of about 10 forms and we want to be able to control which user has access to which pages. So User A...
    5. ASP.NET Forms Authentication Via A SQL Server Database With Windows User types?
      We have built an ASP.NET application that will run on the Intranet using SQL 2000 as our data layer. We have decided to use Form Authentication...
  3. #2

    Default Re: Impersonate, Windows Authentication and Database Access

    You must grant the read/write permission to the temp folder to the
    impersonated account (all the Users in your scenario).
    Follow the suggestions of this article:
    [url]http://support.microsoft.com/?id=825738[/url]

    HtH,
    Andrea

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

    "Fabricio Sperandio" <fabricio@masonichomes.com.au.invalid> wrote in message
    news:uJJYl2rGEHA.2084@TK2MSFTNGP10.phx.gbl...
    > Hi everyone,
    >
    > I am having problems in my Intranet web site. I recently changed the
    > authentication mode from forms to windows. I turned "OFF" the anonymous
    > access on the IIS security settings and turned "ON" the impersonate on my
    > Web.config.
    >
    > That is ok, I am impersonating the user currently logged on each
    workstation
    > and it was working fine.
    >
    > The problem is that I just can execute a query on my Access database using
    > OleDb for users that are members of the local Administrators group. For
    the
    > rest of them i received an "System.Data.OleDb.OleDbException: Unspecified
    > error" message.
    >
    > Everyone has "Full Control" over the whole web site folder, the bin
    folder,
    > database, all of them and their respective files (*.mdb, *.dll).
    >
    > What's going one here? Help me!
    >
    > The only thing I can do is add all the users to the local Administrators
    > group, and then it works.
    >
    > Cheers,
    >
    > Fabrício
    >
    >

    Andrea D'Onofrio [MSFT] 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