Deny or allow viewing database names for Amazon RDS for SQL Server (original) (raw)

The master user cannot set DENY VIEW ANY DATABASE TO `LOGIN` to hide databases from a user. To change this permission, use the following stored procedure instead:

EXEC msdb.dbo.rds_manage_view_db_permission @permission=‘DENY’, @server_principal=‘LOGIN’  
go  
EXEC msdb.dbo.rds_manage_view_db_permission @permission='GRANT', @server_principal='LOGIN'  

go  

Consider the following when using this stored procedure:

Troubleshoot PITR failures due to LSN gaps

Disabling fast inserts

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.