This function allows you to set up password protection (HTTP Basic Auth) for a web space directory. In order to allow several different users to access a directory, the function can be called several times (with the user name to be added in each case).
The users and passwords are managed using the HostingPasswordUserAdd function.
Field |
Type |
RegExp |
Null? |
Description |
---|---|---|---|---|
|
AuthData |
no |
Authentication data |
|
|
string |
|
no |
Subscription name |
|
string |
|
no |
Path (needs to start with |
|
string |
|
no |
Description/title of the password prompt |
|
string |
|
no |
allowed user; |
Field |
Type |
Null? |
Description |
---|---|---|---|
|
string |
no |
Status („ok“) |