Custom authentication


There are two quick steps (that require PHP knowledge) to set up thirdparty authentication:

  1. 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";

  1. Use one of the provided authentication plugin files to setup your own:
    1. MySQL: "/path-to-WebFileShare/customizables/auth/mysql.auth.php"
  2. Joomla: "/path-to-WebFileShare/customizables/auth/joomla.auth.php"
    1. Omnisecure: "/path-to-WebFileShare/customizables/auth/omnisecure.auth.php"
    2. WordPress: "/path-to-WebFileShare/customizables/auth/wordpress.php"
    3. 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.

 

 



Article ID: 584
Created On: Wed, Mar 5, 2014 at 4:11 AM
Last Updated On: Fri, Nov 17, 2017 at 4:07 PM
Authored by: KB Admin01 [[email protected]]

Online URL: https://kb.quikbox.com/article.php?id=584