Solved

MSSQL 2005 remote access control by IP address

Posted on 2009-07-10
4
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 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