Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In SQL Server 2008, I have a table for user registration, in that table, password field view as normal text for the admin user, but I want to change view as to the bullets which we normal using while enter a password and also cannot be able to copy, hence kindly advise experts.
Posted

1 solution

Encrypt the column would be my first suggestion. There are also ways of using VARBINARY as the column data type.

If your "view" is a front end then change that. If you mean with SSMS they can see the value then at the least a permission change is needed.
 
Share this answer
 
Comments
abdulsafran 19-Oct-12 10:17am    
Please advise, how to encrypt a column?
Corporal Agarn 19-Oct-12 11:06am    
Here are a couple of many sites I used:
http://msdn.microsoft.com/en-us/library/ms179331(v=SQL.100).aspx
http://johnnycode.com/2012/02/09/sql-server-cell-level-symmetric-encryption-the-right-way/
abdulsafran 19-Oct-12 11:34am    
Thanks for the sites, from the sites, can you provide best code which most suitable for my request. My request is SQL admin can't see (looks like bullets) what is the password user entered and cannot copy.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900