X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/4a901fe94520b6b9c694b31b155e07f11db83e82..917b8e5ba17ba4b0c9a2cf5c12781f1880d02ff5:/doc/banned_users.mdwn diff --git a/doc/banned_users.mdwn b/doc/banned_users.mdwn index 11e744b10..c44f8c587 100644 --- a/doc/banned_users.mdwn +++ b/doc/banned_users.mdwn @@ -1,6 +1,10 @@ -Wiki admins can ban users via their Preferences. +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. -The list of banned users is space delimited. +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.