ASP.Net Security and SQL Server access

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

  1. #1

    Default ASP.Net Security and SQL Server access

    Can someone tell me the best security configuration for an intranet site.

    I want to use Window accounts (groups) to control access to the Web site and
    the access to a SQL Server database on a different server.

    Does the web.config file override the IIS MMC security settings ?

    Cheers




    Richard Guest

  2. Similar Questions and Discussions

    1. Server cannot access application directory ... The directory does not exist or is not accessible because of security settings
      If you are using Windows XP in a Workgroup, rather than a Domain, then by default "Simple Filesharing" is turned on, and you won't see a security...
    2. Server cannot access application directory... The directory does not exist or is not accessible because of security settings.
      Hi, I have this issue with the error below. Let me explain my goal and my server environement: Goal: To have 3 separate web servers reading...
    3. Security Access
      In AIX, can I have a root access with READ ONLY? If yes, how to set it up (rwx)?
    4. access to sql server from shared folder security error
      hi all i generated windows application by vb.net file that connect to sql server . when copy exe file to shared folder and after run it...
    5. Access Security
      I have heard somewhere that there is a tool available that allows the use of the shift key bypass to be "switched" on and off? Can anyone help me...
  3. #2

    Default Re: ASP.Net Security and SQL Server access

    Your IIS application runs under one identity. This is configured in the IIS
    settings.

    ASP.NET runs under another identity, which you can configure in the
    machine.config. (By default, it's MACHINE\ASPNET.)

    If you want ASP.NET to use the Windows identity of the IIS application
    (which can be the authenticated user) then make sure your web.config has
    <identity impersonate="true">

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    --
    "Richard" <ricwatts@cisco.com> wrote in message
    news:eoey3e4SDHA.632@TK2MSFTNGP12.phx.gbl...
    > Can someone tell me the best security configuration for an intranet site.
    >
    > I want to use Window accounts (groups) to control access to the Web site
    and
    > the access to a SQL Server database on a different server.
    >
    > Does the web.config file override the IIS MMC security settings ?
    >
    > Cheers
    >
    >
    >
    >

    Chris Jackson Guest

  4. #3

    Default Re: ASP.Net Security and SQL Server access

    Under what credentials is your aspnet_wp.exe running? (You can check this
    under the task manager.) Have you set up impersonation?

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    --
    "Richard" <ricwatts@cisco.com> wrote in message
    news:OPHK5PJTDHA.2252@TK2MSFTNGP12.phx.gbl...
    > Thanks Chris,
    >
    > i have the web.config file set up for windows integrated authentication
    with
    > authorisation on a group set up on the web server. That goes well.
    >
    > I chek the user and display on the page - so i know which account it is
    > running in.
    >
    > I have calls to a SQL server with a different group (but still windows
    > accounts) set up for access to a table i want to update etc
    >
    > Calls to this db do not work, with integrated scurity - but if i use a
    > specific user in the connection string it does work and i gain access to
    the
    > db.
    >
    > Is there somethingelse I need to configure?
    >
    > Regards,
    > Richard
    >
    > "Chris Jackson" <chrisj@mvps.org> wrote in message
    > news:e2H1a#ITDHA.1552@TK2MSFTNGP12.phx.gbl...
    > > Your IIS application runs under one identity. This is configured in the
    > IIS
    > > settings.
    > >
    > > ASP.NET runs under another identity, which you can configure in the
    > > machine.config. (By default, it's MACHINE\ASPNET.)
    > >
    > > If you want ASP.NET to use the Windows identity of the IIS application
    > > (which can be the authenticated user) then make sure your web.config has
    > > <identity impersonate="true">
    > >
    > > --
    > > Chris Jackson
    > > Software Engineer
    > > Microsoft MVP - Windows XP
    > > Windows XP Associate Expert
    > > --
    > > "Richard" <ricwatts@cisco.com> wrote in message
    > > news:eoey3e4SDHA.632@TK2MSFTNGP12.phx.gbl...
    > > > Can someone tell me the best security configuration for an intranet
    > site.
    > > >
    > > > I want to use Window accounts (groups) to control access to the Web
    site
    > > and
    > > > the access to a SQL Server database on a different server.
    > > >
    > > > Does the web.config file override the IIS MMC security settings ?
    > > >
    > > > Cheers
    > > >
    > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Chris Jackson 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