Website Security Guidelines

We have just finished developing a new website for my company using the .NET MVC environment. The sql server that supports our application contains some important data, such as profiles of other web users, and we would like to make sure that this data never leaks due to reputation risk for the company.

We have a number of ideas on what needs to be done to protect our website, but I would like them to capture stackoverflow. We will use SSL for login screens, and we will prevent basic attachment methods such as SQL injection, cross-site scripting attacks.

However, we are concerned that the physical machine is being used with some kind of exploit. We will run the web server (Windows Server 2008 Service Pack 2 with IIS7) in the DMZ, only port 80 and 443 are open to the Internet. The sql server is currently located on the web server machine, but we are considering whether this is a security risk. Will placing the sql server in the machine in DMZ second aid be safe?

We also examined the use of a Ubuntu box with Apache with mod_proxy in one DMZ, which will "redirect" 80 or 443 requests to split the Windows machine into a second DMZ, which will serve the web server and sql server server.

Some other suggestions we get are using a product like WatchGuard, which apparently can filter http packets for standards compliance, which blocks quirky packets from the web server.

What other things should we protect?

thank

+3
source share
2 answers

A resolution of only 80 and 443 is a very good idea. DMZ stands for Demilitarized Zone, this is the definition of a machine on NAT that is accessible for all traffic, and this should be avoided. You will be hacked to allow SQL Server and port 445, because you are starting Windows, and this is only a matter of time until another RPC vulnerability appears.

, , . , , xss sql. secuirty , .

? Acunetix, , xss. SQL Injection Wapiti, . OpenVAS, Nessus , . OpenVAS , . , , nmap -sT -p 1-65535 domain.com, OpenVas.

. -, mod_ secuirty - Apache, mod_security IIS. Aqtronix - WAF , IIS, .

+2

1- .

2- SQL-.

3- web.config

0

Source: https://habr.com/ru/post/1735019/


All Articles