Guest permissions on user databases
Applies to: SQL Server
This rule determines whether the guest user has permission to access the database. This rule applies to user databases only.
Best practices recommendations
Revoke the guest user permission to access the database if it isn't required.
The guest user can't be dropped, but guest user can be disabled by revoking its CONNECT permission by executing REVOKE CONNECT FROM GUEST within any database other than master
, tempdb
, or msdb
.
For more information
Related content
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for