Application roles

  • I have a vb studio application with SQL 2005 backend.

    I have created a login page, but don't know how to

    authenticate the users on the vb login page against

    SQL Server 2005.

    I have created some dummy users/logins on my development server

    as well as an application role. Can I use the sys.syslogins view and

    check against the loginname and password fields in the view?

    Unless there's a better way around.

    All input will be taken serioulsy - Help!

  • You cannot use this view as the password stored is in encrypted format.

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • I realized I can't use that view because the password is encrypted.

    is there a way around this?

  • Another way would be to create table where you can store user names, passwords and roles for users. On login button click you will create connection to sql , do select from "users" table and compare results on the front end.

  • make sure that you set authentication to "Forms authentication" in webconfig file.

  • Thanks. The application is a windows not a web app

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply