function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
prafulguptaprafulgupta 

how to track user activity while unmasking password fields?

Hi!

 I posted this in the security section as well but posting here just in case.

 

I have a use case at work where we capture certain credentials from the customer to allow internal operations to log into the customer account on their behalf. However, since we are dealing with credentials security and audit tracking is needed. 

 

Solutions proposed are:

1) Use permission sets to hide/unhide the credentials fields based on page layouts, or

2) Use a custom button to 'unmask' the credential fields

 

In either scenario, we need to track the person who is clicking the button/taking action to 'unmask' the password field. How do I go about tracking such activity? I was thinking of having a text area field and updating that with user logged in. 

 

Also, if you have any other solution recommendations, I would welcome those as well. 

 

Thanks

Praful

AmitSahuAmitSahu
You can use the permission settings for the person who should be able to see the credentials. For all other users the fields should not be visible.