Windows 2003 Identity issue.

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

  1. #1

    Default Windows 2003 Identity issue.

    I have a small ASP.NET app that maintains a SQL Server
    database. When I delpoy to a Windows 2003 Enterprize
    Server I get the following error on connecting to the
    RDBMS...

    Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

    To overcome this problem I have modified the logins on
    SQL Server as follows...

    exec sp_grantlogin 'NT AUTHORITY\NETWORK SERVICE'
    exec sp_grantdbaccess 'NT AUTHORITY\NETWORK SERVICE'

    This works fine thus far but I am concerned as to whether
    or not this is the "correct" way of doing things. In
    particular, does it open up any security holes?

    Thank you
    MikeH Guest

  2. Similar Questions and Discussions

    1. Application Event Log security issue on Windows 2003
      Hi, Does anyone know how to get this to work? Application Event Log does not work with (C++ COM) components that I call from ASP pages on...
    2. Issue using CDO and ASP when hosted from a Windows Server 2003 box
      Hello. I have a function, code below, that I use to send email in ASP via the CDO object. The username and password to the SMTP server are...
    3. CFmx7 Install Issue w/Windows 2003
      Have installed & reinstalled the trial version of ColdFusion MX 7 mulitple times on Windows 2003 server running IIS 6. Have gone w/all the defaut...
    4. Windows Server 2003 and briefcase issue
      I am unable to copy files ot folder from a sahred network drive to a briefcase folder on my windows server 2003 PC. I keep getting a message "This...
    5. Windows 2003 Standard Activation issue
      I've installed a NFD (from a TS2 Event) copy of Windows 2003 Server on my laptop. It's been running a little slow so I ran a full checkdisk on...
  3. #2

    Default Re: Windows 2003 Identity issue.

    | I have a small ASP.NET app that maintains a SQL Server
    | database. When I delpoy to a Windows 2003 Enterprize
    | Server I get the following error on connecting to the
    | RDBMS...
    |
    | Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

    You can do two things:

    1. Use SQL server, not Windows authentication.
    2. Impersonate the web application to be running under specific user
    account.

    --
    Michal A. Valasek, Altair Communications, [url]http://www.altaircom.net[/url]
    Please do not reply to this e-mail, for contact see [url]http://www.rider.cz[/url]


    Michal A. Valasek 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