Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Abid
110 Posts |
Posted - 2014-03-22 : 08:07:29
|
Hi. In my current working project, i need to implement user rights etc. I have never experienced this user privileges and policy etc, before and its really first time to implement it. My current UserInfo table has fields:UserName (Primary Key)Password Is it right way to design form. Or I am supposed to have more columns in it? |
|
James K
Master Smack Fu Yak Hacker
3873 Posts |
Posted - 2014-03-23 : 18:16:42
|
Whether you need more columns or not depends on your business requirements. What other information do you need to store? Another important consideration is that you should never store the password in plain text in the database. You should "salt it and hash it" and store it. Google for those terms and you will get helpful information. |
|
|
Bustaz Kool
Master Smack Fu Yak Hacker
1834 Posts |
Posted - 2014-04-16 : 19:18:37
|
I'll suggest that you'll need to know what rights the user has on which schema objects. If you find that there is a pattern to these rights, consider grouping these users, either with a Windows Group, if you use Integrated Security, or by vcreating database Roles. Then add the users to their proper group and issue the rights to the group container.===============================================================================“Everyone wants a better life: very few of us want to be better people.” -Alain de Botton |
|
|
|
|
|