Click here to Skip to main content
15,907,392 members
Home / Discussions / Database
   

Database

 
QuestionIn Search Of A Good Query Tool Pin
nullGumby5-Oct-06 7:11
nullGumby5-Oct-06 7:11 
AnswerRe: In Search Of A Good Query Tool Pin
yahao8-Oct-06 18:00
yahao8-Oct-06 18:00 
QuestionWhich database format is good enough? Pin
Joe Smith IX5-Oct-06 6:42
Joe Smith IX5-Oct-06 6:42 
AnswerRe: Which database format is good enough? Pin
Chris Buckett5-Oct-06 8:51
Chris Buckett5-Oct-06 8:51 
GeneralRe: Which database format is good enough? Pin
Joe Smith IX5-Oct-06 22:22
Joe Smith IX5-Oct-06 22:22 
GeneralRe: Which database format is good enough? Pin
Chris Buckett5-Oct-06 22:39
Chris Buckett5-Oct-06 22:39 
GeneralRe: Which database format is good enough? Pin
Joe Smith IX6-Oct-06 9:27
Joe Smith IX6-Oct-06 9:27 
GeneralRe: Which database format is good enough? Pin
Chris Buckett7-Oct-06 7:17
Chris Buckett7-Oct-06 7:17 
Joe Smith IX wrote:
Am I missing something here? Thanks.


Only a little bit. You are just connecting to the database engine, not any particular database itself.

Look in the "Security\Logins" tab - this lets you see the users that sql server knows about. in a defauly install you have "Builtin\Administrators" this is the windows administrators group. You also have sa.

You can create a new user id in here, and give it a password (rather than associate it with a windows account / group). Also look at the user mappings tab.

Create a database, and go into the DatabaseName\Security\ section, this is where you grant access priveledges to individual user accounts. It may be that user1 can access db1 and db2, and user2 can access db2 and db3. They will all be able to connect to the database engine.

You can restrict access down to the table / view / stored procedure level (e.g. user1 may be able to access db1.table1, but not db1.table2).

And remember, it's the connection string in the application which provides the userID to the database engine. The engine will grant permission based upon the connection string.

I would suggest that if you're serious about preventing rogue / malicious access to you data, you invest in a good book on sql server security. (about 4 years ago I went on a 2 day course for sql2k, which was well worth it). Experiment. It has very robust security features that don't need to be linked with the windows login accoutn.

ChrisB
GeneralRe: Which database format is good enough? Pin
Joe Smith IX7-Oct-06 7:58
Joe Smith IX7-Oct-06 7:58 
GeneralRe: Which database format is good enough? Pin
Jerry Hammond7-Oct-06 12:58
Jerry Hammond7-Oct-06 12:58 
AnswerRe: Which database format is good enough? Pin
Jerry Hammond5-Oct-06 9:08
Jerry Hammond5-Oct-06 9:08 
QuestionLeft Join & Group By Pin
phimix5-Oct-06 4:40
phimix5-Oct-06 4:40 
AnswerRe: Left Join & Group By Pin
mr_lasseter5-Oct-06 4:52
mr_lasseter5-Oct-06 4:52 
QuestionRe: Left Join & Group By Pin
phimix5-Oct-06 5:17
phimix5-Oct-06 5:17 
AnswerRe: Left Join & Group By Pin
mr_lasseter5-Oct-06 5:34
mr_lasseter5-Oct-06 5:34 
QuestionRe: Left Join & Group By Pin
phimix5-Oct-06 6:02
phimix5-Oct-06 6:02 
QuestionRe: Left Join & Group By Pin
mr_lasseter5-Oct-06 6:06
mr_lasseter5-Oct-06 6:06 
AnswerRe: Left Join & Group By Pin
phimix5-Oct-06 7:01
phimix5-Oct-06 7:01 
GeneralRe: Left Join & Group By [modified] Pin
mr_lasseter5-Oct-06 7:44
mr_lasseter5-Oct-06 7:44 
GeneralRe: Left Join & Group By Pin
phimix5-Oct-06 19:34
phimix5-Oct-06 19:34 
QuestionRecord 'Deletion' Pin
Dayekh5-Oct-06 3:56
Dayekh5-Oct-06 3:56 
AnswerRe: Record 'Deletion' Pin
mr_lasseter5-Oct-06 5:44
mr_lasseter5-Oct-06 5:44 
GeneralRe: Record 'Deletion' Pin
Dayekh5-Oct-06 23:12
Dayekh5-Oct-06 23:12 
AnswerRe: Record 'Deletion' Pin
Private_Void6-Oct-06 9:16
Private_Void6-Oct-06 9:16 
QuestionPass wild card value to Where Like Statement. Pin
japel5-Oct-06 0:36
japel5-Oct-06 0:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.