Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004

    Unanswered: Masking Cell Contents

    Is there a way to mask the contents of a cell or column? I have a table that stores passwords and I would like to mask the password much like Access does with asterisks. I know I can restrict the column based on user but that creates other problems on the frontend.

  2. #2
    Join Date
    Jul 2003
    San Antonio, TX
    First, there shouldn't be any direct access to such a table (IMHO, no table should be directly accessed by any user). At a minimum, any viewing should be done through a ... view (pun intended). This way you can mask which ever way you want to mask the password values:

    create view dbo.vw_users as
    select user_id, password='**********'
    from users
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts