Typically, you configure user authorization for a particular database. However, Derby also allows you to configure user authorization for the system, which is useful during development and for specifying a secure default access for all databases in the system.
To control access to a particular database, set database-level properties that specify which users have full (read-write) access to the database and which users have read-only access to the database. Users not specified by either property inherit the default access for the database (none, read-only, or full read-write access). When not explicitly set, the default access for a database is full (read-write) access.