Settings

You can customize the Piggydb's behavior by modifying the settings. The following is how to change the settings for each package.
Those settings also can be set via the Java System Properties.

Database Location

If you use a Standalone Package or All-in-One Package, the database files will be created in ~/piggydb/ (Windows: C:\Documents and Settings\<User>\piggydb), and the database name is "piggydb" by default.
The location of the database files or the database name can be changed via the Piggydb settings "piggydb.database.prefix" and "piggydb.database.name", respectively.
If you use a War Package, the database files will be created in ~/piggydb/ and the database name will be determined by the context path, which is basically a war name. If you deploy a war file named "myknowledge.war", then the database name will be "myknowledge". If the context path is null, then the database name will be "piggydb". This auto war-database mapping allows you to deploy multiple piggydb.wars with separate databases on the same JEE server more easily (NOTE: This feature is available only with servlet 2.5 (tomcat 6.x) or later, otherwise the database name will be "piggydb").

Anonymous Access

Piggydb allows only authenticated (logged in) users to view, edit content by default. But the anonymous access feature has been available since version 4.4. You can enable anonymous access to let users view content without a login (anonymous users can only view content, but not register, edit or delete knowledge fragments).
To enable anonymous access, change the Piggydb settings "piggydb.enableAnonymous" value to "true".
If you use a War Package, you can download an anonymous-enabled package from here: http://sourceforge.net/projects/piggydb/files/ (file name: piggydb-<version>-anonymous.war).

Security

Others