locked
Authentication VB Express 2010 RRS feed

  • Question

  • I'm new to VB Express and SqlCE.  How is authentication acomplished?
    GrandpaB
    Monday, November 1, 2010 1:22 AM

Answers

  • Using an Login form is from the previous milenium.

    You can use in a network the Active directory to use the roles. 

    http://msdn.microsoft.com/en-us/library/39sc95wz.aspx

    If you don't use the Active directory you can use a database, but use the user which is given in 

    Environment.username in that way is a login form like you see obsolete.

     


    Success
    Cor
    • Marked as answer by Martin_Xie Tuesday, December 7, 2010 4:09 PM
    Monday, November 1, 2010 2:24 PM

All replies

  • Granpa

    I know you can describe your questions better. 

    authentication of what?

    Normally it is simply integrated security.

     


    Success
    Cor
    Monday, November 1, 2010 8:59 AM
  • Yes, I can.  I'd like the users to login and gain access to various features of the program depending on if their user role(i.e., administrator, member or guest).  There are a number if features to be implementated such as encrypting and securing passwords, password recovery, changing passwords, setting the user role, etc.

    Does integrated security address my needs? And if it does how do I learn about it? 


    GrandpaB
    Monday, November 1, 2010 1:58 PM
  • I added a LoginForm to my project and in the LoginForm1.vb code I a found a link in the ToDo comment that I thought might answer my question.  However when i opened the link, Microsoft had a note that said that the information was obsolete.  Shame on you Microsoft; you put out a new product and provide a link that offers helpand guidance only to say that the information is obsolere.  The link is: http://go.microsoft.com/fwlink/?LinkId=35339 
    GrandpaB
    Monday, November 1, 2010 2:19 PM
  • Using an Login form is from the previous milenium.

    You can use in a network the Active directory to use the roles. 

    http://msdn.microsoft.com/en-us/library/39sc95wz.aspx

    If you don't use the Active directory you can use a database, but use the user which is given in 

    Environment.username in that way is a login form like you see obsolete.

     


    Success
    Cor
    • Marked as answer by Martin_Xie Tuesday, December 7, 2010 4:09 PM
    Monday, November 1, 2010 2:24 PM
  • SQL Server Compact Edition does not support user-level security. It supports a database password only.

    You would need to create your own security system for SQL Server CE.


    Paul ~~~~ Microsoft MVP (Visual Basic)
    Monday, November 1, 2010 4:16 PM