-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typical password-like input field #202
Comments
you ask how to hide the text of the password ? |
Not hide but replace by an asterisk each character.
El vie, 13 sept 2024 a la(s) 9:58 a.m., Alain Plantec (
***@***.***) escribió:
… you ask how to hide the text of the password ?
—
Reply to this email directly, view it on GitHub
<#202 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXHHKLRINZ6GRAZP3ERJPLZWLOPBAVCNFSM6AAAAABOEEEUU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBYHEYDCNBYGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
maybe there is a font for that |
If you only change the font, could you copy/paste the password ? |
Both are good points :) For Morphic backend, that is always a reference implementation, it is a font. See beEncrypted
encrypted := true.
self textMorph font: (StrikeFont passwordFontSize: self theme textFont pointSize) where that font is: In Morphic, you CAN copy to clipboard (and paste the entered string). You can test it with: m := SpRubTextFieldMorph new.
m encrypted: true.
m openInWindow. and wrapped in Spec: text := SpTextInputFieldPresenter new.
text bePassword.
text open. As a reference in HTML, I tested the password input field in this webpage: |
security ? |
Ok! I'd be nice to disable the copy shortcut (not paste!). In an image with
IDE tools disabled, the password will be safe from user point of view.
El sáb, 28 sept 2024 a la(s) 6:06 a.m., Alain Plantec (
***@***.***) escribió:
… security ?
ok disabling the shortcut can be done easily and it is mandatory to do it
for a password textfield.
but it will very easy to hack any image with a script that catch the
passwd textfield content
|
@tinchodias would you introduce a ToPasswordTextField class ? |
@plantec how do you recommend implementing it?
The text was updated successfully, but these errors were encountered: