Custom authentication
Article ID: 584 | Rating: Unrated | Last Updated: Fri, Nov 17, 2017 at 4:07 PM
There are two quick steps (that require PHP knowledge) to set up thirdparty authentication:
- Define the authentication plugin inside the file "/path-to-WebFileShare/customizables/config.php", at line 5. Here's an example for the LDAP authentication:
$config['system']['custom_auth_file'] = "auth/ldap.auth.php";
- Use one of the provided authentication plugin files to setup your own:
- MySQL: "/path-to-WebFileShare/customizables/auth/mysql.auth.php"
- Joomla: "/path-to-WebFileShare/customizables/auth/joomla.auth.php"
- Omnisecure: "/path-to-WebFileShare/customizables/auth/omnisecure.auth.php"
- WordPress: "/path-to-WebFileShare/customizables/auth/wordpress.php"
- LDAP: "/path-to-WebFileShare/customizables/auth/ldap.auth.php"
Before enabling the external authentication, it is recommended to change the Web File Share superuser account's username (default username "admin") to one that matches a username in your external system. This way, when you login to Web File Share with the external credentials you will have superuser privileges.