Re: How to hide INFORMATION_SCHEMA and sys from users
- From: christophe.leroquais@xxxxxxxxx
- Date: 15 Jun 2006 00:27:00 -0700
hongju:
I've tried:
DENY VIEW DEVINITION TO 'myUserName'
at the database level but it is without any effect.
The user still can see all the dbo, INFORMATION_SCHEMA and sys objects
hongju a écrit :
You can deny a permission using VIEW DEFINITION clause.
Users dont view that in Management studio.
"Bill Blakey"님이 작성한 내용:
There's a system procedure that Crystal Reports (for example) invokes upon
connection to a SQL Server database: sp_schemata_rowset
In SQL 2005 this returns the three default Schemas:
dbo
INFORMATION_SCHEMA
sys
I'm trying to suppress/hide the last two Schemas but am not having any luck.
Is it possible to not expose Schemas to users in SQL 2005 (their existence
at all)? Revoke and Deny of various permissions does not seem to be working
(including View Definition which I thought would do it)...
TIA
--
Bill Blakey
.
- References:
- How to hide INFORMATION_SCHEMA and sys from users
- From: Bill Blakey
- How to hide INFORMATION_SCHEMA and sys from users
- Prev by Date: Re: Help pls: Not allow users access to tables, stored procedures
- Next by Date: SQL遇到错误继续执行的问题
- Previous by thread: How to hide INFORMATION_SCHEMA and sys from users
- Next by thread: List User's Permissions down to table.column action
- Index(es):
Relevant Pages
|