SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 How to grant priveleges to Users
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Abid
Posting Yak Master

Pakistan
109 Posts

Posted - 03/22/2014 :  08:07:29  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

3707 Posts

Posted - 03/23/2014 :  18:16:42  Show Profile  Reply with Quote
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.
Go to Top of Page

Bustaz Kool
Flowing Fount of Yak Knowledge

USA
1754 Posts

Posted - 04/16/2014 :  19:18:37  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000