Passwords stored in columns

  • Can anyone tell me if there is a way to display passwords as a string of asterisks when viewing a table using any of the client tools? My problems is that I have a number of users who need to be able to use client tools, and I can't restrict select privelages at column level and it would be an enormous hassle to move all passwords to a seperate table.

  • You could encrypt the field, which would mean changing the code that needs to read/write to that field.

    For example see http://www.activecrypt.com

    who sell encryption addins

    Steven

  • Could you use a view?

    Table (

    Field1,

    Field2,

    OrigPwd VARCHAR(20)

    )

    CREATE VIEW v_Table AS

    SELECT Field1, Field2, '******' AS OrigPwd....

    Guarddata-

  • Do you store unencrypted passwords in a db?

    Seems to be pretty challenging! Something like 'Overclocking your server'

    Now being serious.

    Your users need to have access to client tools?

    Why?

    What client tools?

    Isn't it sufficient, like Guarddata mentioned, to grant them access to views or some stored procedures.

    Cheers,

    Frank

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing 4 posts - 1 through 3 (of 3 total)

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