PC Review


Reply
Thread Tools Rate Thread

How to change text string to asterisk in text box

 
 
Huayang
Guest
Posts: n/a
 
      7th Aug 2005
When enter the password, how to change it to asterisk and compare it with
password in the table? thanks


 
Reply With Quote
 
 
 
 
tina
Guest
Posts: n/a
 
      7th Aug 2005
if you're entering the password into a textbox control on a form, you can
set the textbox's InputMask property to Password. that does not *change* the
data entered by the user, but *displays* it as asterisks.

you can use a DLookup() function to return the correct password from the
table and compare it to the value entered in the textbox. if you're not
familiar with DLookup(), see Access Help for more details.

hth


"Huayang" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> When enter the password, how to change it to asterisk and compare it with
> password in the table? thanks
>
>



 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      7th Aug 2005
What is to stop someone reading the passwords out of the table?

You should //never// store a plaintext password. You should only store
the /hash/ of the password. Google on "hash functions" for more
information. "MD5" is a common hash function for storing passwords.

HTH,
TC

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: change text in string SMS Microsoft Excel Programming 2 7th Oct 2009 04:59 AM
change text in string CG Rosen Microsoft Excel Programming 2 5th Oct 2009 10:02 PM
Change 3 letter text string to a number string Pete Microsoft Excel Misc 3 31st Dec 2007 07:47 PM
How to change text string? =?Utf-8?B?RGFqYW5h?= Microsoft Excel Misc 2 24th Aug 2005 02:29 AM
Finding a Text String with an asterisk in it =?Utf-8?B?QWxleEE=?= Microsoft Access Queries 2 12th Apr 2005 08:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:09 AM.