• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

MSSQL public role

I could understand that you are facing issue with MSSQL database user which can see all other databases present inside the server. Please note that this is default behavior of MSSQL. When a database user is created in MSSQL database, the user will be having permission to view all other databases present in the same server. This permission is called VIEW ANY DATABASE. It is server-level permission. A login that is granted this permission can see metadata that describes all databases, regardless of whether the login owns or can actually use a particular database.
By default, the VIEW ANY DATABASE permission is granted to the public role. Therefore, by default, every user that connects to an instance of SQL Server can see all databases in the instance.
http://msdn.microsoft.com/en-us/library/ms189077(v=sql.105).aspx
http://msdn.microsoft.com/en-us/library/ms189077(v=sql.105).aspx

So if you need to deny the permission, you need to deny the server level permission. For more detail, please refer the link given below.

http://msdn.microsoft.com/en-us/library/ms182763(v=sql.105).aspx

After this permission is denied, a login can see only metadata for master, tempdb, and databases that the login owns.
 
To do that the user login created by Plesk should be part of DBO schema?

Denying VIEW ANY DATABASE permission everything is gone, including the database the user should access. But it seems the user created by Plesk is not the databases owner.

Is there somewhere to configure default permissions?
 
Back
Top