+ 1
Dear Sardar,
This can be possible, by using deny permission for a particular user. Anyhow you cannot hide the master and tempdb database.
In the SQL Server Management Studio, Right click the server and click "Properties". Click on "Permissions" and then select the "Public" role and remove "Grant" from "View Any Database".



