Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restricting Enterprise Manager access

Status
Not open for further replies.

stressball

Programmer
Mar 14, 2001
68
AU
Hi,

We have an offsite client who wants to access one of our databases via Enterprise Manager, I have set up a user for them with access only to their one database, however, when testing this, logging in as this user, they can only access their database, however they can view the rest of the databases, with an access denied error message if they attempt to access any of the others. Our problem is that they can still view the list of databases, which we don't want them to be able to do. Is there anyway we can only allow them to see just the one database they have access to on our server?

Thanks.
 
If you manually delete the guest account for each database it will not show up for anyone who isn't an admin on the server.

The best solution is to simply leave it as is.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(Not quite so old any more.)
 
Hi,

We have no guest accounts, but yes I think you are right we are going to have to leave this as is until the next version of SQL Server, which apparently does allow you to do this.

 
Hi,

Thanks for that info, but we have no access to our clients site servers, all we are giving them is a username and password so that they can gain access to the databases they require, which they want to be able to do through their version of Enterprise Manager.

Regards,
Stressball
 
As another suggestion, you could install a named instance of SQL Server, move the single database to it, and then only grant access to the particular named instance. You'll still want to setup a user account for them and certainly restrict access to the xp_cmdshell command becuase they could then effectively browse your hard drive and see the physical names of the database files.

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Hi,

Thanks, that sounds like it will solve our problem, although it will impact on our servers performance and require application code changes. But even that is preferable to them seeing our entire list of databases.

Stressball
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top