M
M
max_rip2011-01-31 19:34:05
Apache HTTP Server
max_rip, 2011-01-31 19:34:05

How to secure apache virtual hosts in windows as much as possible?

There is a server on 2003 Windows, a number of basic services live on it.
It also hosts a website and two more systems for viewing statistics and managing these services.
Actually, I want to protect all these systems and the site from each other as much as possible.
Additional systems, very specific and written in php.
But they are also open to and distributed free of charge, ie. everyone has access to study them in detail.
For nix* systems, you can run virtual hosts from different users, for Windows I did not find such modules.
What can you advise for their maximum differentiation, so that when one is hacked, other virtual hosts are not affected and no access to other files is obtained?
PS The most manic solution is to install nginx and a virtual machine. Move everything to a virtual machine and proxy nginx to it. +)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Parsing, 2011-01-31
@max_rip

IIS has the Application Pool Isolation feature. For Apache, you can start a separate process for each user, and then (in the main Apache: 80) combine them using reverse proxy .

P
Puma Thailand, 2011-01-31
@opium

Transfer the site to hosting, it costs 100 rubles per month.

E
eternals, 2011-01-31
@eternals

1. Apache can't work under Windows. It can run, but it's buggy. There is a description of it online.
2. PHP has directory protection mechanisms. The same open_base_dir combined with blocking some functions. But periodically they find bugs in this, proving what kind of shit php.
3. PHP usually needs apache (as a typical solution). It's better to run it under linux.
Just doing virtualization from under win2003 is not very efficient. It is better to put hyper-v on a piece of iron, under it, file a container for win2003 and containers for LAMP. Perhaps, in your case, you can generally put your own container with the OS under each site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question