security.txt 848 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. =================
  2. Security Features
  3. =================
  4. ------------
  5. Module: core
  6. ------------
  7. :Author: Jan Kneschke
  8. :Date: $Date: 2004/08/29 09:44:53 $
  9. :Revision: $Revision: 1.2 $
  10. :abstract:
  11. lighttpd was developed with security in mind ...
  12. .. meta::
  13. :keywords: lighttpd, security
  14. .. contents:: Table of Contents
  15. Description
  16. ===========
  17. Limiting POST requests
  18. ----------------------
  19. ::
  20. server.max-request-size = <kbyte>
  21. System Security
  22. ---------------
  23. Running daemons as root with full privileges is a bad idea in general.
  24. lighttpd runs best without any extra privileges and runs perfectly in chroot.
  25. Change Root
  26. ```````````
  27. server.chroot = "..."
  28. Drop root privileges
  29. ````````````````````
  30. server.username = "..."
  31. server.groupname = "..."
  32. FastCGI
  33. ```````
  34. fastcgi + chroot
  35. Permissions
  36. ```````````
  37. ::
  38. $ useradd wwwrun ...