M
Marc S. Gibian
I have an application that contains some sensitive data. I am
displaying the table containing this data via a DataGrid, using an
ADO.NET DataSet for the database access. I need to make sure the
sensitive data is not stored in the database in clear-text, yet I need
to provide clear-text display to authorized users. I had thought
setting up an ItemBound event handler would do the trick, but while it
does solve the problem, performing the decrypting the data in the
handler and thus between fetch from disk and display to the user, it
did this at the cost of removing the field from the set of text boxes
made available when the DataGrid's EditItemIndex is set. Since I need
to allow the user to treat the field as a normal field, changing it
with any other non-read-only field in the grid, this is not an
acceptable solution.
I am looking for pointers to approaches to solving this problem. I am
sure this is not a unique issue, since any HIPPA compliant application
using a DataSet bound to a DataGrid surely would encounter this issue.
I just haven't hit on a search to find these solutions.
displaying the table containing this data via a DataGrid, using an
ADO.NET DataSet for the database access. I need to make sure the
sensitive data is not stored in the database in clear-text, yet I need
to provide clear-text display to authorized users. I had thought
setting up an ItemBound event handler would do the trick, but while it
does solve the problem, performing the decrypting the data in the
handler and thus between fetch from disk and display to the user, it
did this at the cost of removing the field from the set of text boxes
made available when the DataGrid's EditItemIndex is set. Since I need
to allow the user to treat the field as a normal field, changing it
with any other non-read-only field in the grid, this is not an
acceptable solution.
I am looking for pointers to approaches to solving this problem. I am
sure this is not a unique issue, since any HIPPA compliant application
using a DataSet bound to a DataGrid surely would encounter this issue.
I just haven't hit on a search to find these solutions.