• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Limiting views on shared SQL server installations

T

tomoiaga

Guest
Is there any way that after removing "VIEW any DATABASE" from "public" users that create DB's from Plesk to view those databases in Management Studio Express ?

I know that they have to be DBO's.
Is there any way to configure plesk such that it will make a users that created a database the DBO of that database ?

Or is there other alternative ?
 
hello,

I get the same issue here. In de default plesk + microsoft sql installation and configuration, mssql users can see the list of databases on the server. I want users to only see their own database in the list.

So i removed VIEW ANY DATABASE form PUBLIC (server role) but now users cannot see any database at all. But according following information from MSDN they should, because they are DB owner:

http://msdn2.microsoft.com/en-us/library/ms189077.aspx

"To limit visibility to database metadata, deny a login the VIEW ANY DATABASE permission. After this permission is denied, a login can see only metadata for master, tempdb, and databases that the login owns."

What do i do wrong?
 
aha yes i see!

Owner = sa

I changed owner to the user and now it works.

But this must be the default behavior in Plesk, shouldn't it?

What was your solution?
 
I have not found a solution so far and stopped looking (maby there is one after all, I am not 100% sure about that).
This is the default behaviour of Plesk, it will set the sa as dbo and you will have to manually change the dbo for every database.
It's understandable since when a Plesk user(domain administrator) crates a DB there is no user for that DB. Still they(SWSoft) can do some adjustments on that. Figured it's just not an option for them right now so I left it alone, I don't really like SWSoft's Plesk anymore, in fact I hate it, but will get to that some other time.
 
Back
Top