Security: ASP.Net + SQL Server DNZ

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

  1. #1

    Default Security: ASP.Net + SQL Server DNZ

    (Been reading other messages on this subject but could not find an answer,
    that is why I'm posting this. Please note, although I have posted to several
    groups, I've set follow-to microsoft.public.sqlserver.security in case I
    posted to where I shouldn't have, sorry if I have).

    I am woking on an ASP.Net app that will be in the DMZ and SQL Server will be
    behind the firewall inside a secure zone. It seems as though there are two
    possible methods of securing the DB:

    1. Using integrated security.
    a. This will use Win2K challege response machamism and hence passwords and
    user-id's would not need to be handled in the web app.
    b. This probably means that both ASP.Net and DB would have to be on the same
    windows domain.

    2. Using SQL Server security (do not know if it is the right name)
    a. Connection-string will need to include both uid and pwd.
    b. For security reasons, connection-string will need to be stored away from
    the app in a secure place, probably encrypted.
    c. At runtime the connection-string will need retrieving and decrypting and
    passed as clear text to Open() method on connection.

    It seems as though 2c makes it less secure if network is spoofed hence
    method 1 seems to be the better option, is that correct? If so, port 1433
    would need to be opened between the DMZ to DB zone, in that direction, is
    that correct?

    Any other pointers or suggestions will be much appreciated.

    thanks,
    Tushar



    Tushar Karsan Guest

  2. Similar Questions and Discussions

    1. Server security question
      When I look at my application.log the last few days I have been seeing the HTTP/1.0 404 Object Not Found error. At first I didn?t think anything...
    2. Web Server Security for WebServices
      Hi all, I have a general question concerning the Web Server security settings. A have tried to call a simple *.aspx file. The server reported an...
    3. MAC OS X vs 9: WEB SERVER SECURITY?
      I was wondering what sys admin think when comparing security of Mac OS X (Apache) vs. Mac OS 9 (WebStar). I mean, after all, I don't know of any...
    4. Best Security Practices for ASP against SQL Server
      No, you shouldn't use a DSN. You should use OLEDB connection strings and create your connection when you need it. You can store the connection...
    5. 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...
  3. #2

    Default Security: ASP.Net + SQL Server DNZ

    (Been reading other messages on this subject but could not find an answer,
    that is why I'm posting this. Please note, although I have posted to several
    groups, I've set follow-to microsoft.public.sqlserver.security in case I
    posted to where I shouldn't have, sorry if I have).

    I am woking on an ASP.Net app that will be in the DMZ and SQL Server will be
    behind the firewall inside a secure zone. It seems as though there are two
    possible methods of securing the DB:

    1. Using integrated security.
    a. This will use Win2K challege response machamism and hence passwords and
    user-id's would not need to be handled in the web app.
    b. This probably means that both ASP.Net and DB would have to be on the same
    windows domain.

    2. Using SQL Server security (do not know if it is the right name)
    a. Connection-string will need to include both uid and pwd.
    b. For security reasons, connection-string will need to be stored away from
    the app in a secure place, probably encrypted.
    c. At runtime the connection-string will need retrieving and decrypting and
    passed as clear text to Open() method on connection.

    It seems as though 2c makes it less secure if network is spoofed hence
    method 1 seems to be the better option, is that correct? If so, port 1433
    would need to be opened between the DMZ to DB zone, in that direction, is
    that correct?

    Any other pointers or suggestions will be much appreciated.

    thanks,
    Tushar



    Tushar Karsan 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