summaryrefslogtreecommitdiff
path: root/doc/outdated/security.txt
blob: 766fd3483c9d5e96ee5f7a53a2e5c74da1f37c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
=================
Security Features
=================

------------
Module: core
------------

:Author: Jan Kneschke
:Date: $Date: 2004/08/29 09:44:53 $
:Revision: $Revision: 1.2 $

:abstract:
  lighttpd was developed with security in mind ...

.. meta::
  :keywords: lighttpd, security

.. contents:: Table of Contents

Description
===========

Limiting POST requests
----------------------



::

   server.max-request-size = <kbyte>

System Security
---------------

Running daemons as root with full privileges is a bad idea in general.
lighttpd runs best without any extra privileges and runs perfectly in chroot.

Change Root
```````````

server.chroot = "..."

Drop root privileges
````````````````````

server.username = "..."
server.groupname = "..."

FastCGI
```````

fastcgi + chroot

Permissions
```````````

::

  $ useradd wwwrun ...