Changes between Version 5 and Version 6 of HtmlOps


Ignore:
Timestamp:
Feb 20, 2010, 8:38:54 PM (15 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HtmlOps

    v5 v6  
    2828that disallows access to the admin web interface.
    2929You can use '''htpasswd''' to create a '''.htpasswd''' file containing
    30 credentials for yourself.
     30credentials for yourself:
     31
     32{{{
     33htpasswd -c .htpasswd username
     34}}}
    3135
    3236== Project-defined protection policy ==
    3337
    34 The project-specific config file '''html/project/project.inc'''
    35 contains a function '''auth_ops()''' that defines
     38The config file '''html/project/project.inc'''
     39can specify a function '''auth_ops()''' that defines
    3640a project-specific policy for protecting the admin interface.
    3741Possible policies:
    3842
    39  * No access (the default for new projects)
    4043 * Access only if logged in as user from a given list.
    4144 * Access only to users with ADMIN or DEV flag set in forum_preferences.privileges.
     45 * Access only from specific IP addresses.
    4246 * Any other policy you can think of.
    4347
    44 By default, no access is allowed;
    45 you'll need to edit this function to specify your project's policy.
     48Some examples are given in the function '''auth_ops_example()''' in the default config file.
    4649
    47 Existing projects: look at '''html/project.sample/project.inc''',
    48 copy the '''auto_ops()''' function into your project.inc file,
    49 and edit it to specify your project's policy.