How to make a protected password field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • muddasirmunir
    Contributor
    • Jan 2007
    • 284

    #1

    How to make a protected password field

    I am using sql server 2000 personal edition.

    I want to know how can we make a password field in the table , so if any ope open the talbe it will only see ********** (even the admin) .

    Hope you understand what i mean.
  • Delerna
    Recognized Expert Top Contributor
    • Jan 2008
    • 1134

    #2
    As far as I am aware you cannot create a field in a table that does that.

    Sql server provides logins under security for that sort of thing

    With that login you can then control the level of access any user has to
    any database object (tables,views,s tored procs...)
    in any database.

    Not sure if personal edition has that though

    Comment

    • muddasirmunir
      Contributor
      • Jan 2007
      • 284

      #3
      So , is there any way i can protect my whole sqlserver 2000 (Enterprise Manager) so no body can open it with out password , even the computer administrater to see my database and tables.

      Comment

      • ck9663
        Recognized Expert Specialist
        • Jun 2007
        • 2878

        #4
        Whoever the admin can see everything. Encrypt those fields that needs to be hidden.

        Good Luck!!!

        ~~ CK

        Comment

        • ThatThatGuy
          Recognized Expert Contributor
          • Jul 2009
          • 453

          #5
          Originally posted by muddasirmunir
          I am using sql server 2000 personal edition.

          I want to know how can we make a password field in the table , so if any ope open the talbe it will only see ********** (even the admin) .

          Hope you understand what i mean.
          You can encrypt the password externally and store it

          Comment

          • muddasirmunir
            Contributor
            • Jan 2007
            • 284

            #6
            Originally posted by ThatThatGuy
            You can encrypt the password externally and store it
            Yes ,encrypt externally is a good option.

            But i donot know how what utility is best for it , might be notepad and I also donot know how to write,read,encr ypte and decrypte notepad. Any link to good tutorial about this topic?

            Comment

            • ThatThatGuy
              Recognized Expert Contributor
              • Jul 2009
              • 453

              #7
              Originally posted by muddasirmunir
              Yes ,encrypt externally is a good option.

              But i donot know how what utility is best for it , might be notepad and I also donot know how to write,read,encr ypte and decrypte notepad. Any link to good tutorial about this topic?


              has a good article on encryption and decryption using C#

              Comment

              • ck9663
                Recognized Expert Specialist
                • Jun 2007
                • 2878

                #8
                Here, read this.

                Good Luck!!!

                ~~ CK

                Comment

                Working...