Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

MSSQL 2005 remote access control by IP address

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
hioctane21
Asked:
hioctane21
  • 3
1 Solution
 
RiteshShahCommented:
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
 
RiteshShahCommented:
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
 
hioctane21Author Commented:
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
 
RiteshShahCommented:
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now