Showing posts with label admin. Show all posts
Showing posts with label admin. Show all posts

Wednesday, March 28, 2012

How to create objects under dbo without DDL admin rights??

Does someone have any suggestions on what rights to grant a user to allow
them to only create stored procedures, functions under dbo without granting
DDL admin?Hi,
Open Database properties and the under permissions you can set for user to
create and alter objects.
Danijel Novak
"John Barr" <JohnBarr@.discussions.microsoft.com> wrote in message
news:344873E1-75CC-441F-A9FF-B63ECF38E7A9@.microsoft.com...
> Does someone have any suggestions on what rights to grant a user to allow
> them to only create stored procedures, functions under dbo without
> granting
> DDL admin?|||That I know, but I want a user to be able to create a new procedure, but
create it as dbo.procedure. As far as I know, you cannot do this without DDL
Admin rights.
"Danijel Novak" wrote:

> Hi,
> Open Database properties and the under permissions you can set for user to
> create and alter objects.
> --
> Danijel Novak
>
> "John Barr" <JohnBarr@.discussions.microsoft.com> wrote in message
> news:344873E1-75CC-441F-A9FF-B63ECF38E7A9@.microsoft.com...
>
>|||In SQL 2000 and earlier versions, the user must be either:
- a db_ddladmin role member
- a db_owner role member
- the database owner
- a sysadmin role member
Of course, membership in these role provides considerably more permissions
as well.
Note that the ability to create dbo-owned procs and functions essentially
allows users to retrieve and manipulate data in all dbo-owned tables. This
is one reason why one typically allows only DBAs to create dbo-owned
objects.
Hope this helps.
Dan Guzman
SQL Server MVP
"John Barr" <JohnBarr@.discussions.microsoft.com> wrote in message
news:344873E1-75CC-441F-A9FF-B63ECF38E7A9@.microsoft.com...
> Does someone have any suggestions on what rights to grant a user to allow
> them to only create stored procedures, functions under dbo without
> granting
> DDL admin?|||Hi,
true said by Dan , that's why ! we only do it with only
- a db_ddladmin role member
- a db_owner role member
- the database owner
- a sysadmin role member , so in shore please don't permit it to not dbo
user.
:-)
Regards
--
Andy Davis
Activecrypt Team
---
SQL Server Encryption Software
http://www.activecrypt.com
"Dan Guzman" wrote:

> In SQL 2000 and earlier versions, the user must be either:
> - a db_ddladmin role member
> - a db_owner role member
> - the database owner
> - a sysadmin role member
> Of course, membership in these role provides considerably more permissions
> as well.
> Note that the ability to create dbo-owned procs and functions essentially
> allows users to retrieve and manipulate data in all dbo-owned tables. Thi
s
> is one reason why one typically allows only DBAs to create dbo-owned
> objects.
> --
> Hope this helps.
> Dan Guzman
> SQL Server MVP
> "John Barr" <JohnBarr@.discussions.microsoft.com> wrote in message
> news:344873E1-75CC-441F-A9FF-B63ECF38E7A9@.microsoft.com...
>
>

How to create Logs?

Can anyone please tell me where and how to configure SQL log files. I am a
Network Admin person and don't know anything in SQL.
Can you specify if its server error log file or database log file?
Thanks,
Sree
"iice" wrote:

> Can anyone please tell me where and how to configure SQL log files. I am a
> Network Admin person and don't know anything in SQL.
|||I want to know all the details of the database starting from accessing,
execution details, error logs etc. Is there any way of seeing? Pls do help me.
"Sreejith G" wrote:
[vbcol=seagreen]
> Can you specify if its server error log file or database log file?
> Thanks,
> Sree
> "iice" wrote:

How to create Logs?

Can anyone please tell me where and how to configure SQL log files. I am a
Network Admin person and don't know anything in SQL.Can you specify if its server error log file or database log file?
Thanks,
Sree
"iice" wrote:

> Can anyone please tell me where and how to configure SQL log files. I am a
> Network Admin person and don't know anything in SQL.|||I want to know all the details of the database starting from accessing,
execution details, error logs etc. Is there any way of seeing? Pls do help m
e.
"Sreejith G" wrote:
[vbcol=seagreen]
> Can you specify if its server error log file or database log file?
> Thanks,
> Sree
> "iice" wrote:
>sql

How to create Logs?

Can anyone please tell me where and how to configure SQL log files. I am a
Network Admin person and don't know anything in SQL.Can you specify if its server error log file or database log file?
Thanks,
Sree
"iice" wrote:
> Can anyone please tell me where and how to configure SQL log files. I am a
> Network Admin person and don't know anything in SQL.|||I want to know all the details of the database starting from accessing,
execution details, error logs etc. Is there any way of seeing? Pls do help me.
"Sreejith G" wrote:
> Can you specify if its server error log file or database log file?
> Thanks,
> Sree
> "iice" wrote:
> > Can anyone please tell me where and how to configure SQL log files. I am a
> > Network Admin person and don't know anything in SQL.

Wednesday, March 21, 2012

How to create an admin with some limitations?

I've a SQL 2005 with a certain number of db.
Until today i was the only admin of all dbs.
Now i need to give to another admin permission to manage one specific
db (but only that).
Ho censito un utente di sql con accessi abilitati solo a quel db.
If i connect to Enterprise manager with that limited login there is a
problem: i see (only see)
all dbs, also db where this login is not autorized.
How can i work for not permitting this login to see other dbs? He
only
can see them but i
don't want because of privacy. Is it possible?(bertainafederico@.gmail.com) writes:

Quote:

Originally Posted by

I've a SQL 2005 with a certain number of db.
Until today i was the only admin of all dbs.
Now i need to give to another admin permission to manage one specific
db (but only that).
Ho censito un utente di sql con accessi abilitati solo a quel db.
If i connect to Enterprise manager with that limited login there is a
problem: i see (only see)
all dbs, also db where this login is not autorized.
How can i work for not permitting this login to see other dbs? He
only
can see them but i
don't want because of privacy. Is it possible?


Did you try DENY VIEW ANY DATABASE TO Tizio as I suggested in response to
your Italian post?

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx|||Yes, i try and now i can work correctly with limited user onto the
database.
But in the listing of db i can't see any db... So now the problem is
making possible to the user
viewing his db|||My limited user now can only see master and tempdb in the list of
dbs...|||Ok, resolved reading an italian tutorial. Thanks of allsql