11.07.2015 Views

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How To: Use IPSec for Filtering Ports <strong>and</strong> Authentication 783Restricting Database Server CommunicationOn a dedicated SQL Server database server, you often want to restrict communicationto a specific SQL Server port over a particular protocol. By default, SQL Server listenson TCP port 1433, <strong>and</strong> UDP port 1434 is used for negotiation purposes.The following steps restrict a database server so that it only accepts incomingconnections on TCP port 1433 <strong>and</strong> UDP port 1434:● Create two filter actions: one to permit traffic <strong>and</strong> the other to block traffic. Fordetails, see the Create filter actions procedure under “Restricting <strong>Web</strong> ServerCommunication” earlier in this How To.● Create two filter lists: one that matches all traffic <strong>and</strong> one that contains two filtersthat match TCP traffic destined for port 1433 <strong>and</strong> UDP traffic destined for port1433. For details, see “Create IP filter lists <strong>and</strong> filters” under “Restricting <strong>Web</strong>Server Communication” earlier in this How To. The required filters aresummarized below.● Enter the following values to create a filter that allows TCP over port 1433:●●●●●Source Address: Any IP addressDestination Address: My IP AddressProtocol: TCPFrom Port: Any● To Port: 1433● Enter the following values to create a filter that allows UDP over port 1434:●●●●Source Address: Any IP addressDestination Address: My IP AddressProtocol: UDPFrom Port: Any● To Port: 1434Create <strong>and</strong> apply IPSec policy by repeating the procedure under “Restricting <strong>Web</strong>Server Communication” earlier in this How To.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!