SQL User authentication

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

  1. #1

    Default SQL User authentication

    Is it possible to authenticate user using a SQL database, containing users
    and passwords?

    What I want to achive is:
    I have as SQL database containig data for my app. This database also
    contains usernames, passwords and rights which are specific for my app.
    Also I have a middle tier WebService, which contains the business logic of
    my app, and is responsible for connecting to SQL database.
    The connection between SQL server and the WebService as made with hardcoded
    user. I don't need to authenticate the Users with SQL server.
    As a frontend I have a Windows Froms and ASP .NET applications.
    The users should fill username/password boxes, then this information is to
    be passed to the WebService, which checks the username and password in the
    SQL database.
    I want the WebService methods to be available only to users, which have
    authenticated to the user database in SQL server.


    Any ideas, sample code and documents of how to implement this would be
    greatly appreciateble.
    I use VB .NET

    Thank you in advance!


    Nikolay Petrov Guest

  2. Similar Questions and Discussions

    1. user authentication weirdness
      On our development machine, running MySQL 5.0.19, I created a database alert_db, and for development purposes created a user called alert_db with a...
    2. User Authentication
      Hi All: I would like to have certain areas of a site that I am developing password protected but I am not sure how to go about doing this. I know...
    3. User Authentication problems
      hi everyone i am using a php site and i have been trying to implement user authentication by completing the macromedia tutorial "Macromedia -...
    4. XP user authentication
      Folks, Given the following function signature: bool AutheticateUser(string uid, string pwd); Can anyone tell me which .Net class.function API...
    5. DB User authentication.
      Not a programmin newbie, but a PHP newbie. I'm working off the user authentication and database thing off hotscripts.com. It doesn't work, yet...
  3. #2

    Default SQL User authentication

    Is it possible to authenticate user using a SQL database, containing users
    and passwords?

    What I want to achive is:
    I have as SQL database containig data for my app. This database also
    contains usernames, passwords and rights which are specific for my app.
    Also I have a middle tier WebService, which contains the business logic of
    my app, and is responsible for connecting to SQL database.
    The connection between SQL server and the WebService as made with hardcoded
    user. I don't need to authenticate the Users with SQL server.
    As a frontend I have a Windows Froms and ASP .NET applications.
    The users should fill username/password boxes, then this information is to
    be passed to the WebService, which checks the username and password in the
    SQL database.
    I want the WebService methods to be available only to users, which have
    authenticated to the user database in SQL server.


    Any ideas, sample code and documents of how to implement this would be
    greatly appreciateble.
    I use VB .NET

    Thank you in advance!


    Nikolay Petrov Guest

  4. #3

    Default Re: SQL User authentication

    Yes, you can store this information in your SQL Server. The technique
    is described in the ASP.NET security best practices whitepaper, which
    is a free download from
    [url]http://www.microsoft.com/downloads/release.asp?ReleaseID=44047[/url]

    --Mary

    On Tue, 19 Oct 2004 16:20:09 +0300, "Nikolay Petrov"
    <johntup2@mail.bg> wrote:
    >Is it possible to authenticate user using a SQL database, containing users
    >and passwords?
    >
    >What I want to achive is:
    >I have as SQL database containig data for my app. This database also
    >contains usernames, passwords and rights which are specific for my app.
    >Also I have a middle tier WebService, which contains the business logic of
    >my app, and is responsible for connecting to SQL database.
    >The connection between SQL server and the WebService as made with hardcoded
    >user. I don't need to authenticate the Users with SQL server.
    >As a frontend I have a Windows Froms and ASP .NET applications.
    >The users should fill username/password boxes, then this information is to
    >be passed to the WebService, which checks the username and password in the
    >SQL database.
    >I want the WebService methods to be available only to users, which have
    >authenticated to the user database in SQL server.
    >
    >
    >Any ideas, sample code and documents of how to implement this would be
    >greatly appreciateble.
    >I use VB .NET
    >
    >Thank you in advance!
    >
    Mary Chipman Guest

  5. #4

    Default Re: SQL User authentication

    Yes, you can store this information in your SQL Server. The technique
    is described in the ASP.NET security best practices whitepaper, which
    is a free download from
    [url]http://www.microsoft.com/downloads/release.asp?ReleaseID=44047[/url]

    --Mary

    On Tue, 19 Oct 2004 16:20:09 +0300, "Nikolay Petrov"
    <johntup2@mail.bg> wrote:
    >Is it possible to authenticate user using a SQL database, containing users
    >and passwords?
    >
    >What I want to achive is:
    >I have as SQL database containig data for my app. This database also
    >contains usernames, passwords and rights which are specific for my app.
    >Also I have a middle tier WebService, which contains the business logic of
    >my app, and is responsible for connecting to SQL database.
    >The connection between SQL server and the WebService as made with hardcoded
    >user. I don't need to authenticate the Users with SQL server.
    >As a frontend I have a Windows Froms and ASP .NET applications.
    >The users should fill username/password boxes, then this information is to
    >be passed to the WebService, which checks the username and password in the
    >SQL database.
    >I want the WebService methods to be available only to users, which have
    >authenticated to the user database in SQL server.
    >
    >
    >Any ideas, sample code and documents of how to implement this would be
    >greatly appreciateble.
    >I use VB .NET
    >
    >Thank you in advance!
    >
    Mary Chipman 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