[pkg-apparmor] Adding WordPress apache profile

Craig Small csmall at debian.org
Wed May 26 08:38:25 BST 2021


Hi,
  I have for some time run an apparmor profile for WordPress on my own
system.  It basically uses apache hat to switch to the Wordpress profile
and then locks access down to the files Wordpress needs.  I think its a
worthwhile addition and given how many Wordpress bugs there are out there,
would be quite useful.

The question is, how?  The simplest way is to just stick the file into the
examples directory in the wordpress package but this isn't user friendly.
My concern is if I just install the profile into /etc/apparmor.d/apache2.d
then it might create directories for systems not using apparmor.

The other piece of the puzzle is apache configuration needs to enable the
hat for specific directories, I suspect that might be a README.

 - Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-apparmor-team/attachments/20210526/1b1743c3/attachment.htm>


More information about the pkg-apparmor-team mailing list