Re: AppArmor FAQ

James Morris
2007-04-18T13:45:17Z

On Tue, 17 Apr 2007, Alan Cox wrote:

> I'm not sure if AppArmor can be made good security for the general case,
> but it is a model that works in the limited http environment
> (eg .htaccess) and is something people can play with and hack on and may
> be possible to configure to be very secure.

Perhaps -- until your httpd is compromised via a buffer overflow or
simply misbehaves due to a software or configuration flaw, then the
assumptions being made about its use of pathnames and their security
properties are out the window.

Without security labeling of the objects being accessed, you can't protect
against software flaws, which has been a pretty fundamental and widely
understood requirement in general computing for at least a decade.

- James
--
James Morris
<jmorris@namei.org>