aboutsummaryrefslogtreecommitdiff
path: root/doc/banned_users.mdwn
blob: 23433b15b3426c08e030e072dc8163add7d2afde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Banned users can be configured in the setup file via the `banned_users`
setting. This is a list of user names, or [[PageSpecs|ikiwiki/PageSpec]]
to ban. Using a PageSpec is useful to block an IP address.

For example:

	banned_users => ['evilspammer', 'ip(192.168.1.1)'],

If a banned user attempts to use the ikiwiki CGI, they will receive a 403
Forbidden webpage indicating they are banned.

Note that when [[plugins/emailauth]] is used, the user's email address
is displayed in cloaked form in commits of their edits. This cloaked email
address can be used as-is in the `banned_users` setting.