Solved

MSSQL 2005 remote access control by IP address

Posted on 2009-07-10
4
203 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 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