Re: SQL Server Express
- From: "Roger Wolter[MSFT]" <rwolter@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 8 Feb 2006 16:06:54 -0800
These are true if the Windows user is an administrator for any database -
and any file for that matter. The same thing is true if you are a root user
on Unix. Administrators generally have permissions to access anything on
the system. The thing that makes Express unique is that it often runs on
the user's desktop so it the user is an administrator on his box, he has
admin rights to SQL Express. Even if you remove the Windows login
capabilities, the administrator has the permissions required to access the
files directly.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Ken Allen" <kendrhyd@xxxxxxxxxxxx> wrote in message
news:%23Sz8uvMLGHA.2416@xxxxxxxxxxxxxxxxxxxxxxx
Roger Wolter[MSFT] wrote:
To allow your SQL Server authenticated users to create tables, you have
to GRANT them permissions to do so with the GRANT command. If all you
want the user to do is create tables, you would specify:
GRANT CREATE DATABASE on DATABASE::xxx to SAM
If you want the user to do anything within that database you could try:
GRANT CONTROL on DATABASE::xxx to SAM
Yes, I am very familiar with configuring specific SQL Server accounts for
access, and I am having no real problems in this area (now that I have
figured out the SCHEMA topics in SQL Server 2005).
The Windows users have rights because they are administrators. There's
not really a good way to block administrator access without making your
database pretty hard to administer.
So any client application that connects to a SQL Server 2005 database, and
especially to a SQL Express database, using "Integrated Security=SSPI"
will automatically have full and unrestricted access to any and all
databases, schemas, tables, and views that exist and can freely access,
modify and delete not only data but the table definitions as well?
That seems to be an extreme security hole, if true, especially as SQL
Express seems to have no mechanism for turning off Windows
authentication -- can this be done with full SQL Server 2005? Are these
restrictions specific to SQL Server Express or generally applicable to SQL
Server 2005?
-ken
.
- References:
- SQL Server Express
- From: Ken Allen
- Re: SQL Server Express
- From: Ken Allen
- Re: SQL Server Express
- From: Roger Wolter[MSFT]
- Re: SQL Server Express
- From: Ken Allen
- SQL Server Express
- Prev by Date: Newbie to SQL Express
- Next by Date: Re: SQL Server Mgmt Exp - Importing Data from csv.
- Previous by thread: Re: SQL Server Express
- Next by thread: Backup MSDE database from .bat file
- Index(es):
Relevant Pages
|