Giter VIP home page Giter VIP logo

mod_container's Introduction

mod_container

mod_container is an Apache module which can improve isolation and security of virtual hosts. Here we use the container technology to create isolated environments. A new mount namespace is constructed for each virtual host, that allows to specify which parts of the file system tree should be visible. All Apache processes are running under a non-root users in its own user namespace to get capability to operate namespaces. When a new request is received, a namespace set is switched to a proper one for a required virtual host.

Each process can switch namespaces, but for that it should raise capabilities and know which file descriptors are associated with namespaces. All this makes it harder to get access to other virtual hosts. For script languages we can deny setns() and capset() system calls.

##Install The unixd module should be disabled.

https://github.com/avagin/libct

mod_container's People

Contributors

avagin avatar

Stargazers

Thibault Duponchelle avatar Alexander Mikhalitsyn avatar Alexander Nesterov avatar Maxime avatar Sergey Bronnikov avatar Pavel Odintsov avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.