security: sql or win connections ?

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default security: sql or win connections ?

    hi
    i have 4 accounts in sql : userType1...., 4
    and .Asp pages that connect to sql2K using one of them

    each account can only execute its stored procedures
    each account have its own password
    then i have the connection strings in an #include file

    I readed that existence of a plain text connection string is a weak,
    that is better to use windows authentication to connect
    in this situation :
    how can i distinguish the user type that is connecting ???
    do i have to make the connection specifying
    a user type or something like this..... ??
    how should i connect?
    have anyone a sample ?

    thanks
    --
    atte,
    Hernán Castelo
    UTN Buenos Aires
    .. . . . . . . . . . . . . . . . . . . . . . . . . .


    Hernán Castelo Guest

  2. Similar Questions and Discussions

    1. Change Flash Security Settings? Security ManagerOffline?
      Hello I have downloaded firefox and flash player, I have content which when I run it, flash blocks it wisely and reports that the page is trying...
    2. Error: code:Channel.Security.Error string:'Security
      Flex 2.0 beta 1 I created an mxml application with the following tag: <mx:WebService id="ws"...
    3. System.Security.SecurityException: Security error
      Dear All, The problem or error which I am getting while running my web application is as given below: Security Exception Description: The...
    4. Security tool to check CGI scripts for security holes/vulnerabities
      I'm searching for a good security tool that I can use regularly to scan all the programs/scripts in my web servers cgi-bin directory to identify...
    5. Asp.Net Security Analyser (new security tool by DDPlus)
      Hello I'm happy to announce that we (DDPlus) have just released the first stable version of our new Open Source Project: the Asp.Net Security...
  3. #2

    Default Re: security: sql or win connections ?

    You can use windows authentication if your web app only requires one user,
    and the application / site is set to use anonymous access but has a domain
    user set as the anonymous user (who is also allowed in SQL Server).

    Or, if you have all 4 users set up as Windows users, and you disable
    anonymous access, and force the users to authenticate as one of the four
    users.

    In either case, you only need one connection string. See
    [url]http://www.aspfaq.com/2126[/url]

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]


    "Hernán Castelo" <hhh@hotmail.com> wrote in message
    news:u1mf7mCGEHA.3180@TK2MSFTNGP12.phx.gbl...
    > hi
    > i have 4 accounts in sql : userType1...., 4
    > and .Asp pages that connect to sql2K using one of them
    >
    > each account can only execute its stored procedures
    > each account have its own password
    > then i have the connection strings in an #include file
    >
    > I readed that existence of a plain text connection string is a weak,
    > that is better to use windows authentication to connect
    > in this situation :
    > how can i distinguish the user type that is connecting ???
    > do i have to make the connection specifying
    > a user type or something like this..... ??
    > how should i connect?
    > have anyone a sample ?
    >
    > thanks
    > --
    > atte,
    > Hernán Castelo
    > UTN Buenos Aires
    > . . . . . . . . . . . . . . . . . . . . . . . . .
    > .
    >
    >

    Aaron Bertrand [MVP] 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