Skip to content

Commit

Permalink
Update rule.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagov8 authored Mar 25, 2024
1 parent c8085d8 commit a1e1f7f
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
---
type: rule
title: Do you set PasswordChar to (*) on a TextBox on sensitive data?
title: Do you set PasswordChar to "*" on a TextBox on sensitive data?
uri: set-passwordchar-to-star-on-a-textbox-on-sensitive-data
authors:
- title: Adam Cogan
url: https://ssw.com.au/people/adam-cogan/
created: 2014-03-14T02:02:00.000Z
guid: a9d95e36-e677-4498-a2b6-dbf5262e675d
---
If you want to work with sensitive data on textboxes is always good practice to set PasswordChar to (*)

If you want to work with sensitive data on textboxes is always good practice to set PasswordChar to "*".

<!--endintro-->

::: bad
![Figure: Bad example - The user doesn't set PasswordChar to (*)](passwordcharbad.gif)
![Figure: Bad example - The user doesn't set PasswordChar to "*"](passwordcharbad.gif)
:::

::: good
![Figure: Good example - The user set PasswordChar to (*)](passwordchargood.gif)
![Figure: Good example - The user set PasswordChar to "*"](passwordchargood.gif)
:::

0 comments on commit a1e1f7f

Please sign in to comment.