1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-13 19:50:29 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ username.tid
Wincent Balin 0ee53bbc01
Use British English (#7180)
Fixed some typos too.
2023-01-12 20:59:34 +00:00

27 lines
1008 B
Plaintext

caption: username
created: 20180628130114210
modified: 20180702124624290
tags: [[WebServer Parameters]]
title: WebServer Parameter: username
type: text/vnd.tiddlywiki
The [[web server configuration parameter|WebServer Parameters]] ''username'', in conjunction with its companion [[password|WebServer Parameter: password]]:
* Enables [[Basic Authentication|WebServer Basic Authentication]] with the specified username/password combination being added to any credentials specified with the [[credentials|WebServer Parameter: credentials]] parameter
* The specified username is used as a default value for the [[readers|WebServer Parameter: readers]] and [[writers|WebServer Parameter: writers]] authorisation parameters if they are not specified
!! Examples
Serve anonymous users, setting the username to "joe":
```
tiddlywik mywikifolder --listen anon-username=joe
```
Restrict access to the user "joe" with a password of "secret":
```
tiddlywik mywikifolder --listen username=joe password=secret
```