# Notes for postgres authentication:
# 'usertable' is the Postgres database name.
# 'users' is the name of the user table.
# 'Login' is the column name containing usernames.
# 'Password' is the column containing passwords.

TclAuthBasic postgres_auth usertable users Login Password
TclAuthAccess postgres_access
AuthName NeoWebScript Postgres
AuthType Basic

# Currently (NeoWebScript 2.2), only 'valid-user' is supported.
<limit GET>
require valid-user
</limit>
