Re: ODBC Connection - read/write access
From: Alan Brewer [MS] (alanbr@microsoft.com)
Date: 12/05/02
- Next message: Jerry Sherman: "Login Failed - NT Authentication"
- Previous message: Alvin Zhao[MSFT]: "RE: Exporting data to another server"
- In reply to: Dusen: "ODBC Connection - read/write access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Alan Brewer [MS]" <alanbr@microsoft.com> Date: Wed, 4 Dec 2002 19:45:48 -0800
SQL Server will not accept a connection from any API unless that connection
supplies valid login credentials. If your instance of SQL Server only has an
sa account, then anyone connecting to that instance will have to specify the
sa login credentials, and when they are in they will have full
administrative priviledges and can do anything they want.
You have to specifically add logins to SQL Server before other people can
log in to the instance. If you are only using SQL authentication, then you
have to add SQL Server logins and tell the other people what login ID and
password to use. If you are using Windows authentication, you can specify
those Windows accounts which can make connections to your instance of SQL
Server.
Once you have given other people logins, then you create user accounts in
the user databases you want them to access, and associate their logins with
those user accounts. You control their access to objects in the user
databases by assigning permissions to the user accounts. Basically,
individuals only have the permissions assigned to their user account, a role
their account is in, or the public role.
For more information, see these sections in the SQL Server 2000 Books Online
Table of Contents:
SQL Server Architecture
Relational Database Components
Logins
SQL Server Architecture
Database Architecture
Logical Database Components
Logins, Users, Roles, and Groups
-- Alan Brewer Writer SQL Server Documentation Team
- Next message: Jerry Sherman: "Login Failed - NT Authentication"
- Previous message: Alvin Zhao[MSFT]: "RE: Exporting data to another server"
- In reply to: Dusen: "ODBC Connection - read/write access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|