How-To Secure A KnowWE Installation
Back to current version Restore this version

To secure a KnowWE(JSPWiki) installation, you have to edit two files:

after: grant principal com.ecyrd.jspwiki.auth.authorize.Role "Anonymous" { permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages"; };
grant principal com.ecyrd.jspwiki.auth.authorize.Role "Anonymous" {
//    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify";
//    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages";
};
* Install.jsp: Make sure that the file Install.jsp is deleted from the root folder of the web application.

After that, restart the container and the wiki is secure.