Can I use basic authentication?
Yes, you can configure basic authentication by inserting the code below into kuroco_front.json
:
{
"basic":["kuroco: kuroco"],
}
Basic authentication will be applied to the front page of the site.
To learn more about kuroco_front.json
, see [FAQ: What is kuroco_front.json?] (/docs/faq/what-is-kuroco_front_json/).
Note that basic authentication cannot be set for the admin panel. However, you can restrict access to the admin panel by enabling the "Admin panel access restriction (IP Address)" function. In the sidebar menu, click [Environment] -> [Admin panel] and enter the allowed IP address(es) in the corresponding field.
See: User guide - Admin panel for more information.