Hi @Ivan Karimov One of ways can be --- restrict publisher account access on DB.(assuming its SQL -SQL managed Studio) ---- Create a user (publisher) account (make sure its not mapped to any Database)---Right Click on the upper section of the SQL (SQLSERVER Name)>Properties>Permissions>Click on the user account, and select Deny to view databases.---Right Click on the newly created DB, Properties,Files, and change the Owner to the newly created account.
At this point, once the user/publisher logs in to Db he will see the Master,tempdb and will also see the new DB which he is a DB Owner of.
OR
DENY VIEW any DATABASE TO PUBLIC;
GRANT CREATE DATABASE TO PUBLIC;
Ref: https://stackoverflow.com/questions/13809456/sql-database-restrict-view-of-data