RE: deny truncate?
From: Bonj (Bonj_at_discussions.microsoft.com)
Date: 10/13/04
- Next message: Lontae Jones: "The column prefix does not match with a table name or alias Error"
- Previous message: Zach Wells: "Re: SQL APIs"
- In reply to: Bonj: "deny truncate?"
- Next in thread: Jacco Schalkwijk: "Re: deny truncate?"
- Reply: Jacco Schalkwijk: "Re: deny truncate?"
- Reply: Keith Kratochvil: "Re: deny truncate?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 08:33:02 -0700
OK....
We have implemented a rule that any developer that needs to create tables in
a database has to be members of the db_owner role of the database as they
need to be able to create dbo. prefixed tables, as if they can't, then one
will create a table and it will be called, say
mydb.dave.davestable
and then when, say Julie, selects, she will effectively get the results from
mydb.julie.davestable
which either won't exist or else she won't get the same results as dave...
I don't need them to be db_owner for anything other than to be create and
run any existing dbo. prefixed SPs and also any future ones aswell without
the future ones being explicitly assigned to them.
e.g. I need to create a dbo. procedure, and I need to be able to create
another dbo.procedure, without having to spend time setting users permissions
from it whenever I create a new procedure.
"Bonj" wrote:
> What if I want to give users Query Analyzer-style access to my data, but
> don't want them to delete it?
> I can do
> deny delete on dbo.mytable to public
>
> which is great... assuming they don't know how to do 'truncate table'.
>
> uh?
>
> is there any way I can prevent users from truncating a table by permissions?
- Next message: Lontae Jones: "The column prefix does not match with a table name or alias Error"
- Previous message: Zach Wells: "Re: SQL APIs"
- In reply to: Bonj: "deny truncate?"
- Next in thread: Jacco Schalkwijk: "Re: deny truncate?"
- Reply: Jacco Schalkwijk: "Re: deny truncate?"
- Reply: Keith Kratochvil: "Re: deny truncate?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|