Web app


We would like to set a web app externally on DMZ. The database will be on the internal lan. We would like to secure our database transactions. It will be build in c# and the database is MS SQL 2008.

Which is the most secure and recommended way to talk to the database?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aneesh RetnakaranDatabase AdministratorCommented:
Make SQL communicate thru a port other than 1433, make an exception on the firewall for that port and let the application communicate thru that port
Tapan PattanaikSenior EngineerCommented:
Hi skyjumperdude,

Please check these below links.

Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication:


Key Ways to Secure ASP.NET Applications with a SQL Server Back End:


TCP/IP port numbers required to communicate to SQL over a firewall:


Securing Your Database Server:


HOW TO: Configure a .NET-Connected Application and SQL Server to Use an Alternate Port Number for Network Communications:


Key Ways to Secure ASP.NET Applications with a SQL Server Back End:


Securing SQL Server for Web Applications:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.