<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>TWIG Administrators Manual - 7. Internal Security Providers</title> <meta name="Microsoft Border" content="tb, default"> </head> <body><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td> <table border="0" width="100%"> <tr> <td width="50%" valign="bottom"> <h1>TWIG Administrators Manual</h1> </td> <td width="50%" valign="bottom"><img border="0" src="images/twig.gif" align="right" width="153" height="75"></td> </tr> <tr> <td width="50%" valign="bottom"> </td> <td width="50%" valign="bottom"></td> </tr> <tr> <td width="50%" valign="bottom"> Return to <a href="index.html">Table of Contents</a> </td> <td width="50%" valign="bottom"></td> </tr> </table> <hr> </td></tr><!--msnavigation--></table><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><!--msnavigation--><td valign="top"> <h2>7. TWIG's Internal Security Providers</h2> <p>TWIG allows for restricting access certain features through two separate systems, these systems comprise the internal security providers:</p> <ul> <li><a href="#Basic">Basic</a></li> <li><a href="#Advanced">Advanced</a></li> </ul> <p>Features and options can be disabled using these two systems, however they are mutually exclusive and have a significantly different implementation details.</p> <p>TWIG's Internal Security Provider can be configured through <a href="config/config.inc.php3.html">config.inc.php3</a>'s $config["security"] setting.</p> <h2>7.1 <a name="Basic">Basic</a></h2> <p>The basic provider is similar to TWIG 1's system by using a series of $disabled[] configuration settings, this disables a given feature for all uses of the installation of TWIG. Please see <a href="config/features.html">TWIG's Feature Modules</a> for more details on the various $disabled[] values that can be set. <h2>7.2 <a name="Advanced">Advanced</a></h2> <p>The advanced provider is a radical departure from TWIG 1's system, instead of using static configurations for each setting, advanced used an Access Control List (ACL) system that allows for features to be activated or disabled for single users or groups of users.<p>Unlike basic, advanced requires some extra setup: <ul> <li>Make sure the SQL tables twig_acls and twig_acl_groups are setup in your SQL server</li> <li>Edit the file setup/advanced.acl.population and replace <admin user> with the name of the administrator of the TWIG system</li> <li>Use the above file to add the data to your SQL server (this is usually accomplished in a similar way to how you created the TWIG tables).</li> </ul> <p>Note: the setup/advanced.acl.population file populates the ACL database such that the TWIGAdministrators group has administrative access to all aspects of TWIG, and the group Everyone has standard access to all the features in TWIG. You can change this later through the administrative feature of TWIG.</p> <p>Once this is accomplished, log on to TWIG as the administrative user you selected. In the main screen under options you should now have an administration option. From the administrative option you can further configure access to the various features of TWIG.</p> <p>By default all new users of the system will be added to the Everyone group. The system admin can define what groups to add new users to by editing the file config/newusergroups.inc.php3 and following the format contained within.<p> <p>The advanced system does not support the use of $disabled[] except in a few very specific items, they are as follows:</p> <ul> <li>$disabled["global_autoaccounts"]</li> </ul> <p>The advanced security system does not support these options due to the fact that these occur prior to the required code being loaded to support the security functions.</p> <!--msnavigation--></td></tr><!--msnavigation--></table><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td> <hr> <table border="0" width="911"> <tr> <td width="418"> Return to <a href="index.html">Table of Contents</a> </td> <td width="477" align="right">Return to <a href="#TOP">Top</a></td> </tr> </table> </td></tr><!--msnavigation--></table></body> </html>