Deploying Web App inside a DMZ

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

  1. #1

    Default Deploying Web App inside a DMZ

    I want to deploy my web app inside a DMZ. I set up the IIS to allow Anonymous Logi
    and I am going to impersonate an account and connect to a SQL Server databas
    inside the firewall. The account we are trying to impersonate is a Domain account

    Now the question is How do I do that

    In my webconfig file I have impersonate=true and I know I can put the username password in there also
    But when I do that I still get Login failed for Null user

    Do I have to create a local account on the DMZ box that matches the Domain account I am trying to impersonate
    The SQL Server has the Domain account added as a SQL Server Login and is granted access to the database I
    want to use. The app works fine from my Intranet but when I move it to the DMZ box I have a problem. I
    says Login failed for Null user. I have read some articles that points to using the ASPNET worker process account but I want to use a proxy account

    Do I need to do something within IIS or modify the webconfig file, or modify the machine.config file???

    Any help would be appreciated........
    Paul P Guest

  2. Similar Questions and Discussions

    1. Problem Deploying
      Hi! I've had trouble deploying quite a complex Cairngorm solution so I created a mere Hello World application and tried to deploy that ~...
    2. Deploying flash 8 via GPO
      I am trying to get flash installed to my client workstations via GPO and it is not working. I assigned install_flash_player_active_x.msi to the...
    3. Deploying to end users
      I develop tiny to smallish websites for small businesses (big deal I hear you say!) and having recently purchased Studio 8, with Contribute 3, I...
    4. deploying web service
      I have developed a webservice that my application uses .Both the werbservice and the application runs on local host . I have created reference to...
    5. Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl
      Hello Dear Professionals: Based on this document:...
  3. #2

    Default Re: Deploying Web App inside a DMZ

    Since your web machine cannot access the domain, then it will obviously be
    unable to impersonate. Adding a local account matching the domain account
    would probably work, but you'd have to do this for each domain account that
    was to access the box, which would not be practical I would think. Setting
    the web.config to impersonate a particlar local account would work but dont
    like doing this in the web.config becuase of the relatively easy access of
    this file to malicious eyes (whether internal or external) and this is even
    though you can encrypt the credentias via setreg.
    --
    - Paul Glavich


    "Paul P" <anonymous@discussions.microsoft.com> wrote in message
    news:E987D561-494F-467C-A1E4-7E4B4214BC38@microsoft.com...
    > I want to deploy my web app inside a DMZ. I set up the IIS to allow
    Anonymous Login
    > and I am going to impersonate an account and connect to a SQL Server
    database
    > inside the firewall. The account we are trying to impersonate is a Domain
    account.
    >
    > Now the question is How do I do that?
    >
    > In my webconfig file I have impersonate=true and I know I can put the
    username password in there also.
    > But when I do that I still get Login failed for Null user.
    >
    > Do I have to create a local account on the DMZ box that matches the Domain
    account I am trying to impersonate?
    > The SQL Server has the Domain account added as a SQL Server Login and is
    granted access to the database I
    > want to use. The app works fine from my Intranet but when I move it to
    the DMZ box I have a problem. It
    > says Login failed for Null user. I have read some articles that points to
    using the ASPNET worker process account but I want to use a proxy account.
    >
    > Do I need to do something within IIS or modify the webconfig file, or
    modify the machine.config file????
    >
    > Any help would be appreciated........

    Paul Glavich 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