Solved

MSSQL 2005 remote access control by IP address

Posted on 2009-07-10
4
197 Views
Last Modified: 2012-05-07
Hi,

I was wondering is there is a way to control remote access to a MS SQL 2005 server by IP.  Say, I want to just allow one remote PC to be able to ODBC connect to a MS SQL server 2005, is that possible?  I've looked at endpoints but they seem to control access by user account or groups.


Thanks
0
Comment
Question by:hioctane21
  • 3
4 Comments
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24828757
well, you can use windows firewall, you can make rule that nobody can reach to SQL Server port (may be 1433 or 1533) and put an exception in that rule by IP.
0
 
LVL 31

Accepted Solution

by:
RiteshShah earned 125 total points
ID: 24828762
have a look at below link which is saying the same thing I just told you.

http://stackoverflow.com/questions/667192/how-stop-strange-users-from-trying-to-connect-to-my-sql-server-db/671831
0
 

Author Comment

by:hioctane21
ID: 24828782
I found similar solutions mentioning controlling the access from the Windows firewall too but thought there might be an elegant way as there is for MySQL.
0
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24828785
actually this is the best way I suggest, once you block request right from OS firewall, it will never reaches to your server.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Squid Connection Pools 3 43
jump server vs push server 6 148
Help with SQL joins 9 43
Why is the output of this function is like this? 4 29
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now