how to get password char in textbox

D

Darren Neimke

This is probably a silly question but...

I've got a textbox that I want to capture a user's password and, I've worked
out that I need to set it to NOT remember entries. I also want it to have a
password char instead of displaying the password in clear text on the form...
err... how is that done? :)
 
A

Andrew Watt [MVP - InfoPath]

This is probably a silly question but...

I've got a textbox that I want to capture a user's password and, I've worked
out that I need to set it to NOT remember entries. I also want it to have a
password char instead of displaying the password in clear text on the form...
err... how is that done? :)

Hi Darren,

What's your use case for a password control?

There is a "gotcha" about passwords in InfoPath in that the password
will be part of the form's XML which anybody can, if they have the
knowledge, access in clear text.

My guess is that a password control won't be provided in the short
term because, with the current potential to access it in clear text,
it will provide only the *appearance* of security. But that's simply
my opinion.

I guess the other option is that Microsoft could re-engineer under the
hood to hash the password. Not impossible, I guess.

Andrew Watt
MVP - InfoPath
 
D

Darren Neimke

Good answer. I can certainly see that, if they offered a password char that
it might be deceptive in that it would give the - wrong - illusion of
security.
What's your use case for a password control?

I've created a Login view for authenticating to a WebService which uses
FormsAuthentication and cookies. The form that I've created is being used to
perform an admin function - Create Users - so, I need to authenticate the
user first.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top