Re: How to build a secure server with modules written in C/C++?

From: Volker Birk (bumens_at_dingens.org)
Date: 11/22/03

  • Next message: Colin McKinnon: "Re: Socket security"
    Date: Sat, 22 Nov 2003 22:02:49 +0100
    
    

    Marco Stolpe <x25ugip1@freenet.de> wrote:
    > I'm planning to develop a little server software in C/C++. I'd like to
    > give it the ability to invoke functions contained in shared libraries
    > using dlopen(). The shared libraries might be distributed in the form
    > of packages, for example, which have to be installed on the server.
    > With regard to security, it's essential that modules contained in one
    > package aren't able to access data of another package in memory or on
    > the hard disk.

    That will not work. For protecting memory, you need processes. For
    protecting disk space, you need different UIDs.

    VB.

    -- 
    X-Pie Software GmbH
    Postfach 1540, 88334 Bad Waldsee
    Phone +49-7524-996806 Fax +49-7524-996807
    mailto:vb@x-pie.de  http://www.x-pie.de
    

  • Next message: Colin McKinnon: "Re: Socket security"

    Relevant Pages

    • Re: A question about libtool
      ... custom support code for each platform on which his package ran. ... First, whatever platform it is, they all use ELF format for binary ... the shared libraries must have the same file format. ...
      (comp.unix.shell)
    • Re: Advice for Red Hat/Fedora
      ... I guess KDE and Gnome proved to be too fast moving ... and remove one package to get rid of that program. ... One is to use the same shared libraries as everything else so they will already be there - and will be more efficient. ...
      (Fedora)
    • Re: Blastwave.org packages with insane dependencies
      ... > package references, i.e. which packagereferencethe package in which ... *all ELF objects* (which includes shared libraries) ... not depend on lib2. ... It should only depend on lib1. ...
      (comp.unix.solaris)
    • Re: Xpdf 3.02 for OpenVMS/Itanium
      ... if anybody is interested I've built a package for Xpdf 3.02/Itanium ... (thanks to the HP test-drive cluster). ... This one doesn't use shared libraries for t1lib or freetype since I ...
      (comp.os.vms)