Re: Permissions on a database
From: Rick Sawtell (r_sawtell_at_hotmail.com)
Date: 10/20/04
- Next message: Rick Sawtell: "Re: Corrupted table or bug or..??"
- Previous message: Hong Wang: "insert data using openRowSet"
- In reply to: tshad: "Re: Permissions on a database"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 20 Oct 2004 14:06:02 -0700
> > If they are good, they will create their objects with the dbo.ObjectName
> > prefix. If they are not good, then you will end up with objects that
> > look
> > like Rick.Table1.
>
> Would this be a problem for me down the line?
Yes! dbo should own all of the objects in the database. Period.
> > You could do and sp_addalias and mark them as dbo in the database.
>
> What does that do?
It maps them into the database as a dbo rather than as their UserName who is
a member of the db_owners role.
If they are mapped as the dbo, they can do things like: CREATE TABLE Frog
This will make it dbo.Frog by default.
If they are mapped in as a User who is a member of db_owners role, then the
same CREATE TABLE Frog would come back as
UserName.Frog rather than dbo.Frog.
> > This should do what you want it to. By using the Windows account, you
> > also
> > get the benefits of restricting everything else that they might wish to
do
> > on your server as well as evaluate log in times, log outs, minimum
> > password
> > lengths and so forth.
>
> I didn't want to give them access to the Windows server at all. That was
> why I was having them do Sql Server Authentication. Do I also have to
give
> them Windows Access also? If that is the case, I why would anyone use the
> Sql Server Authentication anyway?
If you don't give them access to the Windows computer how do you expect them
to connect to the SQL Server? The SQL Authentication is used to allow SQL
Server to authenticate access to SQL Server rather than Windows
authenticating access to SQL Server.
> I am just trying to figure out the best way to do this.
>
> Thanks,
=)
Rick
> Tom.
> >
> >
> > HTH
> >
> > Rick Sawtell
> > MCT, MCSD, MCDBA
> >
> >
> >
>
>
- Next message: Rick Sawtell: "Re: Corrupted table or bug or..??"
- Previous message: Hong Wang: "insert data using openRowSet"
- In reply to: tshad: "Re: Permissions on a database"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|