Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Masking a column with ****

Status
Not open for further replies.

unicorn11

Programmer
Jun 10, 2000
392
IN
Hi Everybody

I have a column in one of the user tables that hold the passwords. I want to mask it so that it shows "*" when we select it via sql

Regards
Abhishek

Unicorn11
unicorn11@mailcity.com
[red]"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity." Einstein, Albert[/red]
 
In the table under input mask there the ability for password

Hope this helps
Hymn
 
Hi Hymn

Where do I find the input mask?

regards
Abhishek

Unicorn11
unicorn11@mailcity.com
[red]"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity." Einstein, Albert[/red]
 
Tables
design view
field name/data type

look in the box in the bottom
field size
format
input mask
caption

click on input mask ...
third one down = password

Hope this helps
Hymn
 
hymn

I think what you are describing is for Access not MS SQL Server
 
No I did not find Input Mask. I am using sql server 2000. the columns that I could find are
Description
Default Value
Formula
collation

this is for a varchar problem

regards
Abhishek

Unicorn11
unicorn11@mailcity.com
[red]"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity." Einstein, Albert[/red]
 
Sorry mate the forum Microsoft SQL Server: Programming has just appeared were the Microsoft: Access Forms were on my threadminder. I don't normally use this forum
oops

Hope this helps
Hymn
 
thats why you gave the answer you di to my thread about setting a field to NULL !!!

DBomrrsm
 
Don't give your users access to this table. Instead, create a view of the table that has only the columns you wish to expose.
 
You can't put in a mask of passwords in SQL Server. What you do to protect the passwords if you need to is have your user interface run an encryption process when they create a new password or change one. Then you send the encrypted password to the database. Your user interface then encrypts the password when sending it so that it matches what is stored in the database. This is a GUI problem not a SQL Server problem. Encryption algorithms can be quite complex, suggest you read about them on the web.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top