I was wondering if there is a way to make a table read only. I tried doing
this through permissions, but the users are still able to load data into the
table through the application.
Any ideas?
Thanks in advance,
RuiYou can create instead of triggers that does nothing, for example. Note that some bulk loading
utilities bypasses triggers, though.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rui Peres" <peresr@.southcoast.org> wrote in message news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>I was wondering if there is a way to make a table read only. I tried doing this through
>permissions, but the users are still able to load data into the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>|||assuming that the table has been given only select rights to this user then
it should work.
stupid question, but have you confirmed the correct user account being used
in your application is the correct user you are giving select rights too?
Also, check that the user is not in a sysadmin group.
Immy
"Rui Peres" <peresr@.southcoast.org> wrote in message
news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>I was wondering if there is a way to make a table read only. I tried doing
>this through permissions, but the users are still able to load data into
>the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>|||This is a database backend for a third-party application, and the user is in
the System Administrators group. I can not take the user out of the group,
though. What happens is that various users access this application, and
through the application they can load data into several 'datasets' which in
turn the system loads the data into the tables. I wanted to have a way to
prevent that on the back end since the app does not give me that option.
Am I stuck with the possibility that data may be loaded onto the table?
Thanks again,
Rui
"Immy" <imtiaz_ullah@.hotmail.com> wrote in message
news:%23q5MsLe%23FHA.3340@.TK2MSFTNGP12.phx.gbl...
> assuming that the table has been given only select rights to this user
> then it should work.
> stupid question, but have you confirmed the correct user account being
> used in your application is the correct user you are giving select rights
> too?
> Also, check that the user is not in a sysadmin group.
> Immy
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>>I was wondering if there is a way to make a table read only. I tried
>>doing this through permissions, but the users are still able to load data
>>into the table through the application.
>> Any ideas?
>> Thanks in advance,
>> Rui
>|||You should be able to do it through permissions, unless the app is
connecting as the table owner, db owner or sysadmin.
Another alternative is to put the table on its own filegroup and set the
filegroup property to readonly.
--
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Rui Peres" <peresr@.southcoast.org> wrote in message
news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
> I was wondering if there is a way to make a table read only. I tried
> doing this through permissions, but the users are still able to load data
> into the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>|||OK, so sysadmin will have access.
Unless Kalens suggestion works, by placing the table on a different
filegroup but i'm still not so sure it will work, but cant comment as ive
never done it.
Immy
"Immy" <imtiaz_ullah@.hotmail.com> wrote in message
news:%23q5MsLe%23FHA.3340@.TK2MSFTNGP12.phx.gbl...
> assuming that the table has been given only select rights to this user
> then it should work.
> stupid question, but have you confirmed the correct user account being
> used in your application is the correct user you are giving select rights
> too?
> Also, check that the user is not in a sysadmin group.
> Immy
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>>I was wondering if there is a way to make a table read only. I tried
>>doing this through permissions, but the users are still able to load data
>>into the table through the application.
>> Any ideas?
>> Thanks in advance,
>> Rui
>|||Would there be any issues with moving the table into a read only db &
replacing it with a view in the source db?
I've not actually done this - just thinking aloud..
Regards,
Greg Linwood
SQL Server MVP
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:%23XLW%23ge%23FHA.3064@.TK2MSFTNGP10.phx.gbl...
> You should be able to do it through permissions, unless the app is
> connecting as the table owner, db owner or sysadmin.
> Another alternative is to put the table on its own filegroup and set the
> filegroup property to readonly.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>> I was wondering if there is a way to make a table read only. I tried
>> doing this through permissions, but the users are still able to load data
>> into the table through the application.
>> Any ideas?
>> Thanks in advance,
>> Rui
>>
>
>
Showing posts with label permissions. Show all posts
Showing posts with label permissions. Show all posts
Monday, March 19, 2012
How can I make a table read only
I was wondering if there is a way to make a table read only. I tried doing
this through permissions, but the users are still able to load data into the
table through the application.
Any ideas?
Thanks in advance,
Rui
You can create instead of triggers that does nothing, for example. Note that some bulk loading
utilities bypasses triggers, though.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rui Peres" <peresr@.southcoast.org> wrote in message news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>I was wondering if there is a way to make a table read only. I tried doing this through
>permissions, but the users are still able to load data into the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>
|||assuming that the table has been given only select rights to this user then
it should work.
stupid question, but have you confirmed the correct user account being used
in your application is the correct user you are giving select rights too?
Also, check that the user is not in a sysadmin group.
Immy
"Rui Peres" <peresr@.southcoast.org> wrote in message
news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>I was wondering if there is a way to make a table read only. I tried doing
>this through permissions, but the users are still able to load data into
>the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>
|||This is a database backend for a third-party application, and the user is in
the System Administrators group. I can not take the user out of the group,
though. What happens is that various users access this application, and
through the application they can load data into several 'datasets' which in
turn the system loads the data into the tables. I wanted to have a way to
prevent that on the back end since the app does not give me that option.
Am I stuck with the possibility that data may be loaded onto the table?
Thanks again,
Rui
"Immy" <imtiaz_ullah@.hotmail.com> wrote in message
news:%23q5MsLe%23FHA.3340@.TK2MSFTNGP12.phx.gbl...
> assuming that the table has been given only select rights to this user
> then it should work.
> stupid question, but have you confirmed the correct user account being
> used in your application is the correct user you are giving select rights
> too?
> Also, check that the user is not in a sysadmin group.
> Immy
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>
|||You should be able to do it through permissions, unless the app is
connecting as the table owner, db owner or sysadmin.
Another alternative is to put the table on its own filegroup and set the
filegroup property to readonly.
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Rui Peres" <peresr@.southcoast.org> wrote in message
news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
> I was wondering if there is a way to make a table read only. I tried
> doing this through permissions, but the users are still able to load data
> into the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>
|||OK, so sysadmin will have access.
Unless Kalens suggestion works, by placing the table on a different
filegroup but i'm still not so sure it will work, but cant comment as ive
never done it.
Immy
"Immy" <imtiaz_ullah@.hotmail.com> wrote in message
news:%23q5MsLe%23FHA.3340@.TK2MSFTNGP12.phx.gbl...
> assuming that the table has been given only select rights to this user
> then it should work.
> stupid question, but have you confirmed the correct user account being
> used in your application is the correct user you are giving select rights
> too?
> Also, check that the user is not in a sysadmin group.
> Immy
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>
|||Would there be any issues with moving the table into a read only db &
replacing it with a view in the source db?
I've not actually done this - just thinking aloud..
Regards,
Greg Linwood
SQL Server MVP
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:%23XLW%23ge%23FHA.3064@.TK2MSFTNGP10.phx.gbl.. .
> You should be able to do it through permissions, unless the app is
> connecting as the table owner, db owner or sysadmin.
> Another alternative is to put the table on its own filegroup and set the
> filegroup property to readonly.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>
>
this through permissions, but the users are still able to load data into the
table through the application.
Any ideas?
Thanks in advance,
Rui
You can create instead of triggers that does nothing, for example. Note that some bulk loading
utilities bypasses triggers, though.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rui Peres" <peresr@.southcoast.org> wrote in message news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>I was wondering if there is a way to make a table read only. I tried doing this through
>permissions, but the users are still able to load data into the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>
|||assuming that the table has been given only select rights to this user then
it should work.
stupid question, but have you confirmed the correct user account being used
in your application is the correct user you are giving select rights too?
Also, check that the user is not in a sysadmin group.
Immy
"Rui Peres" <peresr@.southcoast.org> wrote in message
news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>I was wondering if there is a way to make a table read only. I tried doing
>this through permissions, but the users are still able to load data into
>the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>
|||This is a database backend for a third-party application, and the user is in
the System Administrators group. I can not take the user out of the group,
though. What happens is that various users access this application, and
through the application they can load data into several 'datasets' which in
turn the system loads the data into the tables. I wanted to have a way to
prevent that on the back end since the app does not give me that option.
Am I stuck with the possibility that data may be loaded onto the table?
Thanks again,
Rui
"Immy" <imtiaz_ullah@.hotmail.com> wrote in message
news:%23q5MsLe%23FHA.3340@.TK2MSFTNGP12.phx.gbl...
> assuming that the table has been given only select rights to this user
> then it should work.
> stupid question, but have you confirmed the correct user account being
> used in your application is the correct user you are giving select rights
> too?
> Also, check that the user is not in a sysadmin group.
> Immy
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>
|||You should be able to do it through permissions, unless the app is
connecting as the table owner, db owner or sysadmin.
Another alternative is to put the table on its own filegroup and set the
filegroup property to readonly.
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Rui Peres" <peresr@.southcoast.org> wrote in message
news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
> I was wondering if there is a way to make a table read only. I tried
> doing this through permissions, but the users are still able to load data
> into the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>
|||OK, so sysadmin will have access.
Unless Kalens suggestion works, by placing the table on a different
filegroup but i'm still not so sure it will work, but cant comment as ive
never done it.
Immy
"Immy" <imtiaz_ullah@.hotmail.com> wrote in message
news:%23q5MsLe%23FHA.3340@.TK2MSFTNGP12.phx.gbl...
> assuming that the table has been given only select rights to this user
> then it should work.
> stupid question, but have you confirmed the correct user account being
> used in your application is the correct user you are giving select rights
> too?
> Also, check that the user is not in a sysadmin group.
> Immy
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>
|||Would there be any issues with moving the table into a read only db &
replacing it with a view in the source db?
I've not actually done this - just thinking aloud..
Regards,
Greg Linwood
SQL Server MVP
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:%23XLW%23ge%23FHA.3064@.TK2MSFTNGP10.phx.gbl.. .
> You should be able to do it through permissions, unless the app is
> connecting as the table owner, db owner or sysadmin.
> Another alternative is to put the table on its own filegroup and set the
> filegroup property to readonly.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>
>
How can I make a table read only
I was wondering if there is a way to make a table read only. I tried doing
this through permissions, but the users are still able to load data into the
table through the application.
Any ideas?
Thanks in advance,
RuiYou can create instead of triggers that does nothing, for example. Note that
some bulk loading
utilities bypasses triggers, though.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rui Peres" <peresr@.southcoast.org> wrote in message news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.ph
x.gbl...
>I was wondering if there is a way to make a table read only. I tried doing
this through
>permissions, but the users are still able to load data into the table throu
gh the application.
> Any ideas?
> Thanks in advance,
> Rui
>|||assuming that the table has been given only select rights to this user then
it should work.
stupid question, but have you confirmed the correct user account being used
in your application is the correct user you are giving select rights too?
Also, check that the user is not in a sysadmin group.
Immy
"Rui Peres" <peresr@.southcoast.org> wrote in message
news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>I was wondering if there is a way to make a table read only. I tried doing
>this through permissions, but the users are still able to load data into
>the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>|||This is a database backend for a third-party application, and the user is in
the System Administrators group. I can not take the user out of the group,
though. What happens is that various users access this application, and
through the application they can load data into several 'datasets' which in
turn the system loads the data into the tables. I wanted to have a way to
prevent that on the back end since the app does not give me that option.
Am I stuck with the possibility that data may be loaded onto the table?
Thanks again,
Rui
"Immy" <imtiaz_ullah@.hotmail.com> wrote in message
news:%23q5MsLe%23FHA.3340@.TK2MSFTNGP12.phx.gbl...
> assuming that the table has been given only select rights to this user
> then it should work.
> stupid question, but have you confirmed the correct user account being
> used in your application is the correct user you are giving select rights
> too?
> Also, check that the user is not in a sysadmin group.
> Immy
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>|||You should be able to do it through permissions, unless the app is
connecting as the table owner, db owner or sysadmin.
Another alternative is to put the table on its own filegroup and set the
filegroup property to readonly.
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Rui Peres" <peresr@.southcoast.org> wrote in message
news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
> I was wondering if there is a way to make a table read only. I tried
> doing this through permissions, but the users are still able to load data
> into the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>|||OK, so sysadmin will have access.
Unless Kalens suggestion works, by placing the table on a different
filegroup but i'm still not so sure it will work, but cant comment as ive
never done it.
Immy
"Immy" <imtiaz_ullah@.hotmail.com> wrote in message
news:%23q5MsLe%23FHA.3340@.TK2MSFTNGP12.phx.gbl...
> assuming that the table has been given only select rights to this user
> then it should work.
> stupid question, but have you confirmed the correct user account being
> used in your application is the correct user you are giving select rights
> too?
> Also, check that the user is not in a sysadmin group.
> Immy
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>|||Would there be any issues with moving the table into a read only db &
replacing it with a view in the source db?
I've not actually done this - just thinking aloud..
Regards,
Greg Linwood
SQL Server MVP
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:%23XLW%23ge%23FHA.3064@.TK2MSFTNGP10.phx.gbl...
> You should be able to do it through permissions, unless the app is
> connecting as the table owner, db owner or sysadmin.
> Another alternative is to put the table on its own filegroup and set the
> filegroup property to readonly.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>
>
this through permissions, but the users are still able to load data into the
table through the application.
Any ideas?
Thanks in advance,
RuiYou can create instead of triggers that does nothing, for example. Note that
some bulk loading
utilities bypasses triggers, though.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rui Peres" <peresr@.southcoast.org> wrote in message news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.ph
x.gbl...
>I was wondering if there is a way to make a table read only. I tried doing
this through
>permissions, but the users are still able to load data into the table throu
gh the application.
> Any ideas?
> Thanks in advance,
> Rui
>|||assuming that the table has been given only select rights to this user then
it should work.
stupid question, but have you confirmed the correct user account being used
in your application is the correct user you are giving select rights too?
Also, check that the user is not in a sysadmin group.
Immy
"Rui Peres" <peresr@.southcoast.org> wrote in message
news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>I was wondering if there is a way to make a table read only. I tried doing
>this through permissions, but the users are still able to load data into
>the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>|||This is a database backend for a third-party application, and the user is in
the System Administrators group. I can not take the user out of the group,
though. What happens is that various users access this application, and
through the application they can load data into several 'datasets' which in
turn the system loads the data into the tables. I wanted to have a way to
prevent that on the back end since the app does not give me that option.
Am I stuck with the possibility that data may be loaded onto the table?
Thanks again,
Rui
"Immy" <imtiaz_ullah@.hotmail.com> wrote in message
news:%23q5MsLe%23FHA.3340@.TK2MSFTNGP12.phx.gbl...
> assuming that the table has been given only select rights to this user
> then it should work.
> stupid question, but have you confirmed the correct user account being
> used in your application is the correct user you are giving select rights
> too?
> Also, check that the user is not in a sysadmin group.
> Immy
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>|||You should be able to do it through permissions, unless the app is
connecting as the table owner, db owner or sysadmin.
Another alternative is to put the table on its own filegroup and set the
filegroup property to readonly.
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Rui Peres" <peresr@.southcoast.org> wrote in message
news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
> I was wondering if there is a way to make a table read only. I tried
> doing this through permissions, but the users are still able to load data
> into the table through the application.
> Any ideas?
> Thanks in advance,
> Rui
>|||OK, so sysadmin will have access.
Unless Kalens suggestion works, by placing the table on a different
filegroup but i'm still not so sure it will work, but cant comment as ive
never done it.
Immy
"Immy" <imtiaz_ullah@.hotmail.com> wrote in message
news:%23q5MsLe%23FHA.3340@.TK2MSFTNGP12.phx.gbl...
> assuming that the table has been given only select rights to this user
> then it should work.
> stupid question, but have you confirmed the correct user account being
> used in your application is the correct user you are giving select rights
> too?
> Also, check that the user is not in a sysadmin group.
> Immy
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>|||Would there be any issues with moving the table into a read only db &
replacing it with a view in the source db?
I've not actually done this - just thinking aloud..
Regards,
Greg Linwood
SQL Server MVP
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:%23XLW%23ge%23FHA.3064@.TK2MSFTNGP10.phx.gbl...
> You should be able to do it through permissions, unless the app is
> connecting as the table owner, db owner or sysadmin.
> Another alternative is to put the table on its own filegroup and set the
> filegroup property to readonly.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Rui Peres" <peresr@.southcoast.org> wrote in message
> news:un1RUFe%23FHA.2324@.TK2MSFTNGP11.phx.gbl...
>
>
How can I list NTLM permissions on a database
Hi folks,
does anybody know a tool or command/sql statement to list all permissions
which are set on a given database. The database has been created years ago
using network authetication. What I am looking for is something like dumpsec
for NTFS.
Thanks
AndreHi Andre,
Did you mean that you would like to list all permissions specified to the
database users on a given database?
You may try the following statement:
USE <database_name>
Go
select distinct l.name as grantee_name, p.permission_name from
sys.database_permissions as p join sys.database_principals as l
ON p.grantee_principal_id = l.principal_id
order by grantee_name
Hope this helps. If you have any other questions or concerns, please feel
free to let me know.
Best regards,
Charles Wang
Microsoft Online Community Support
======================================================When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================|||Hi,
I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.
Best regards,
Charles Wang
Microsoft Online Community Support
======================================================When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================|||Charles,
thanks a lot for your quick reply to my issue.
The SQL query you provided did not work. I assume it was meant for SQL
Server 2005. Sorry, in my post I forgot to mention the used version (SQL
Server 2000). However, after searching the internet for a way to dump the
permissions, I found DumpSQLSec. A nice handy tool which dumps a lot of
informations about a database table. See
http://www.sqlservercentral.com/columnists/cmiller/dumpsqlpermissions.asp
for details.
Again, thanks for your support
Andre
"Charles Wang[MSFT]" <changliw@.online.microsoft.com> schrieb im Newsbeitrag
news:tFyfyC2zHHA.5836@.TK2MSFTNGHUB02.phx.gbl...
> Hi,
> I am interested in this issue. Would you mind letting me know the result
> of
> the suggestions? If you need further assistance, feel free to let me know.
> I will be more than happy to be of assistance.
> Best regards,
> Charles Wang
> Microsoft Online Community Support
> ======================================================> When responding to posts, please "Reply to Group" via
> your newsreader so that others may learn and benefit
> from this issue.
> ======================================================> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> ======================================================>|||Hi Andre,
Thank you for your reply and the detailed additional feedback on how you
were successful in resolving this issue. This information has been added to
Microsoft's database. Your solution will benefit many other users, and we
really value having you as a Microsoft customer.
If you have any other questions or concerns, please do not hesitate to
contact us. It is always our pleasure to be of assistance.
Have a nice day!
Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications
If you are using Outlook Express, please make sure you clear the check box
"Tools/Options/Read: Get 300 headers at a time" to see your reply promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
======================================================When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
does anybody know a tool or command/sql statement to list all permissions
which are set on a given database. The database has been created years ago
using network authetication. What I am looking for is something like dumpsec
for NTFS.
Thanks
AndreHi Andre,
Did you mean that you would like to list all permissions specified to the
database users on a given database?
You may try the following statement:
USE <database_name>
Go
select distinct l.name as grantee_name, p.permission_name from
sys.database_permissions as p join sys.database_principals as l
ON p.grantee_principal_id = l.principal_id
order by grantee_name
Hope this helps. If you have any other questions or concerns, please feel
free to let me know.
Best regards,
Charles Wang
Microsoft Online Community Support
======================================================When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================|||Hi,
I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.
Best regards,
Charles Wang
Microsoft Online Community Support
======================================================When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================|||Charles,
thanks a lot for your quick reply to my issue.
The SQL query you provided did not work. I assume it was meant for SQL
Server 2005. Sorry, in my post I forgot to mention the used version (SQL
Server 2000). However, after searching the internet for a way to dump the
permissions, I found DumpSQLSec. A nice handy tool which dumps a lot of
informations about a database table. See
http://www.sqlservercentral.com/columnists/cmiller/dumpsqlpermissions.asp
for details.
Again, thanks for your support
Andre
"Charles Wang[MSFT]" <changliw@.online.microsoft.com> schrieb im Newsbeitrag
news:tFyfyC2zHHA.5836@.TK2MSFTNGHUB02.phx.gbl...
> Hi,
> I am interested in this issue. Would you mind letting me know the result
> of
> the suggestions? If you need further assistance, feel free to let me know.
> I will be more than happy to be of assistance.
> Best regards,
> Charles Wang
> Microsoft Online Community Support
> ======================================================> When responding to posts, please "Reply to Group" via
> your newsreader so that others may learn and benefit
> from this issue.
> ======================================================> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> ======================================================>|||Hi Andre,
Thank you for your reply and the detailed additional feedback on how you
were successful in resolving this issue. This information has been added to
Microsoft's database. Your solution will benefit many other users, and we
really value having you as a Microsoft customer.
If you have any other questions or concerns, please do not hesitate to
contact us. It is always our pleasure to be of assistance.
Have a nice day!
Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications
If you are using Outlook Express, please make sure you clear the check box
"Tools/Options/Read: Get 300 headers at a time" to see your reply promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
======================================================When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
How can I list NTLM permissions on a database
Hi folks,
does anybody know a tool or command/sql statement to list all permissions
which are set on a given database. The database has been created years ago
using network authetication. What I am looking for is something like dumpsec
for NTFS.
Thanks
AndreHi Andre,
Did you mean that you would like to list all permissions specified to the
database users on a given database?
You may try the following statement:
USE <database_name>
Go
select distinct l.name as grantee_name, p.permission_name from
sys.database_permissions as p join sys.database_principals as l
ON p.grantee_principal_id = l.principal_id
order by grantee_name
Hope this helps. If you have any other questions or concerns, please feel
free to let me know.
Best regards,
Charles Wang
Microsoft Online Community Support
========================================
==============
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
========================================
==============
This posting is provided "AS IS" with no warranties, and confers no rights.
========================================
==============|||Hi,
I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.
Best regards,
Charles Wang
Microsoft Online Community Support
========================================
==============
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
========================================
==============
This posting is provided "AS IS" with no warranties, and confers no rights.
========================================
==============|||Charles,
thanks a lot for your quick reply to my issue.
The SQL query you provided did not work. I assume it was meant for SQL
Server 2005. Sorry, in my post I forgot to mention the used version (SQL
Server 2000). However, after searching the internet for a way to dump the
permissions, I found DumpSQLSec. A nice handy tool which dumps a lot of
informations about a database table. See
http://www.sqlservercentral.com/col...permissions.asp
for details.
Again, thanks for your support
Andre
"Charles Wang[MSFT]" <changliw@.online.microsoft.com> schrieb im Newsbeit
rag
news:tFyfyC2zHHA.5836@.TK2MSFTNGHUB02.phx.gbl...
> Hi,
> I am interested in this issue. Would you mind letting me know the result
> of
> the suggestions? If you need further assistance, feel free to let me know.
> I will be more than happy to be of assistance.
> Best regards,
> Charles Wang
> Microsoft Online Community Support
> ========================================
==============
> When responding to posts, please "Reply to Group" via
> your newsreader so that others may learn and benefit
> from this issue.
> ========================================
==============
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> ========================================
==============
>|||Hi Andre,
Thank you for your reply and the detailed additional feedback on how you
were successful in resolving this issue. This information has been added to
Microsoft's database. Your solution will benefit many other users, and we
really value having you as a Microsoft customer.
If you have any other questions or concerns, please do not hesitate to
contact us. It is always our pleasure to be of assistance.
Have a nice day!
Best regards,
Charles Wang
Microsoft Online Community Support
========================================
=============
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscript...ault.aspx#notif
ications
If you are using Outlook Express, please make sure you clear the check box
"Tools/Options/Read: Get 300 headers at a time" to see your reply promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscript...t/default.aspx.
========================================
==============
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
========================================
==============
This posting is provided "AS IS" with no warranties, and confers no rights.
========================================
==============
does anybody know a tool or command/sql statement to list all permissions
which are set on a given database. The database has been created years ago
using network authetication. What I am looking for is something like dumpsec
for NTFS.
Thanks
AndreHi Andre,
Did you mean that you would like to list all permissions specified to the
database users on a given database?
You may try the following statement:
USE <database_name>
Go
select distinct l.name as grantee_name, p.permission_name from
sys.database_permissions as p join sys.database_principals as l
ON p.grantee_principal_id = l.principal_id
order by grantee_name
Hope this helps. If you have any other questions or concerns, please feel
free to let me know.
Best regards,
Charles Wang
Microsoft Online Community Support
========================================
==============
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
========================================
==============
This posting is provided "AS IS" with no warranties, and confers no rights.
========================================
==============|||Hi,
I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.
Best regards,
Charles Wang
Microsoft Online Community Support
========================================
==============
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
========================================
==============
This posting is provided "AS IS" with no warranties, and confers no rights.
========================================
==============|||Charles,
thanks a lot for your quick reply to my issue.
The SQL query you provided did not work. I assume it was meant for SQL
Server 2005. Sorry, in my post I forgot to mention the used version (SQL
Server 2000). However, after searching the internet for a way to dump the
permissions, I found DumpSQLSec. A nice handy tool which dumps a lot of
informations about a database table. See
http://www.sqlservercentral.com/col...permissions.asp
for details.
Again, thanks for your support
Andre
"Charles Wang[MSFT]" <changliw@.online.microsoft.com> schrieb im Newsbeit
rag
news:tFyfyC2zHHA.5836@.TK2MSFTNGHUB02.phx.gbl...
> Hi,
> I am interested in this issue. Would you mind letting me know the result
> of
> the suggestions? If you need further assistance, feel free to let me know.
> I will be more than happy to be of assistance.
> Best regards,
> Charles Wang
> Microsoft Online Community Support
> ========================================
==============
> When responding to posts, please "Reply to Group" via
> your newsreader so that others may learn and benefit
> from this issue.
> ========================================
==============
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> ========================================
==============
>|||Hi Andre,
Thank you for your reply and the detailed additional feedback on how you
were successful in resolving this issue. This information has been added to
Microsoft's database. Your solution will benefit many other users, and we
really value having you as a Microsoft customer.
If you have any other questions or concerns, please do not hesitate to
contact us. It is always our pleasure to be of assistance.
Have a nice day!
Best regards,
Charles Wang
Microsoft Online Community Support
========================================
=============
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscript...ault.aspx#notif
ications
If you are using Outlook Express, please make sure you clear the check box
"Tools/Options/Read: Get 300 headers at a time" to see your reply promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscript...t/default.aspx.
========================================
==============
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
========================================
==============
This posting is provided "AS IS" with no warranties, and confers no rights.
========================================
==============
Subscribe to:
Posts (Atom)