Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to stop some of our developers from connecting to the production sql server using a specific sql account. They have rights to connect through windows authentication with lower rights. They claim that changing the password will affect too many other processes running on our processing machine. So I want to deny access if they're connecting from there dev machines for now.

Another way this would work is if I could just allow connections from one specific host.

share|improve this question
up vote 3 down vote accepted

You need to create a log on trigger that checks the ip/host before allowing connections

http://bluedog67.com/blog/post/SQL-Server-Logon-Trigger-Restricting-Access-By-IP-To-Your-SQL-Server-Instance.aspx

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.