Is there a way to restrict a specific SQL 2005 login on a Microsoft SQL Server 2005, standard version (sql is in mixed mode) to specific IP addresses, while other logins, Windows authenticated ones, are unaffected?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, you can do this. You’ll need to write a logon trigger as described here:
http://technet.microsoft.com/en-us/library/bb326598.aspx
I futzed around with it for the last fifteen minutes and had limited success, but maybe there’s somebody else on here who’s done a DDL logon trigger filtering by IP address that can show the source code.