Solved

MSSQL 2005 remote access control by IP address

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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