Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passwordchar not waterproof when copy pasted
Message
 
 
À
04/10/2006 04:46:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01159255
Message ID:
01159346
Vues:
21
Guillaume,

I'd weigh in with the others and say this really isn't a problem. Consider the fact that I have dozens of passwords to manage, I use an encrypted keystore on my system that I can open up, copy the password to the clipboard so that I can paste it in to the dialog requesting it, then I clear the clipboard. So resist the urge to disable ctrl-c/v out of respect for the end user.

The PasswordChar feature is to obscure the data to prevent someone else from reading it over a person's shoulder. If you need something more secure than that create your own txtPassword subclass and handle it a different manner.

>When using a passwordchar, you can copy the masked contents using ctrl-c
>When you paste this in a textdocument, voila, the password is revealed.
>This seems a serious issue since all protection is bypassed using two keyboard commands.
>Is there a workaround for this?
>But keep in mind a user must be able to type in the textbox to change the password.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform