Browse Source

tweak link to AppArmor page

Ashish Kulkarni 5 years ago
parent
commit
c8c7ae6723
1 changed files with 4 additions and 5 deletions
  1. 4 5
      docs/status.md

+ 4 - 5
docs/status.md

@@ -134,14 +134,13 @@ please stop asking about that 🙏
 ## Recommendations
 
 * **Do not use wkhtmltopdf with any untrusted HTML** -- be sure to
-sanitize any user-supplied HTML/JS, otherwise it can lead to
-complete takeover of the server it is running on!
+  sanitize any user-supplied HTML/JS, otherwise it can lead to
+  complete takeover of the server it is running on! Please consider
+  using a Mandatory Access Control system like AppArmor or SELinux,
+  see [recommended AppArmor policy](apparmor.html).
 * If you're using it for report generation (i.e. with HTML you control),
   also consider using [WeasyPrint] or the [commercial tool Prince] --
   note that I'm not affiliated with either project, and do your diligence.
-* If you simply must use it for user-supplied HTML/JS, consider using a 
-  Mandatory Access Control system like AppArmor or SELinux.
-  [We have recommendations for an AppArmor policy][apparmor.html].
 * If you're using it to convert a site which uses dynamic JS, consider
   using [puppeteer] or one of the many wrappers it has.