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.

Chapter 17: Securing Your <strong>Application</strong> Server 485<strong>Web</strong> Server(Client)80HTTPChannelASP.NETHost<strong>Application</strong> Server<strong>Web</strong> Server(Client)Clientlistens on55575555(InboundOnly)5557(OutboundOnly)TCPChannelCallbacksServerlistens on5555WindowsServiceHost<strong>Application</strong> ServerFigure 17.4Typical Remoting firewall port configuration for HTTP <strong>and</strong> TCP channel scenarios<strong>Web</strong> Services<strong>Web</strong> services communicate using SOAP over HTTP; therefore, only open port 80 onthe internal firewall.SQL ServerIf a firewall separates the application server from the database server, thenconnecting to SQL Server through a firewall requires that you configure the clientusing the SQL Server Client Network Utility <strong>and</strong> configure the database server usingthe Server Network Utility. By default, SQL Server listens on TCP port 1433, althoughthis can be changed. The chosen port must be open at the firewall.Depending on the chosen SQL Server authentication mode <strong>and</strong> use of distributedtransactions by your application, you might also need to open several additionalports at the firewall:● If your application uses Windows authentication to connect to SQL Server, openthe necessary ports that support the Kerberos protocol or NTLM authentication.● If your application uses distributed transactions, for example automated COM+transactions, configure your firewall to allow DTC traffic to flow between separateDTC instances, <strong>and</strong> between the DTC <strong>and</strong> resource managers, such as SQL Server.

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

Saved successfully!

Ooh no, something went wrong!