Path

ez.no / ezpublish / documentation / configuration / security / restrictions


Restrictions

These documentation pages are no longer maintained. Please visit the new documentation site.

How to disable certain functions on your site.

Require user login

If you would like to require the users to login before they get access to the site at all you can set the following in site.ini

[SiteAccessSettings]

RequireUserLogin=true

Allowing access

You can, and in many cases should, enable access to certain functions in eZ publish to all users. This is done with the PolicyOmitList. Here is an example configuration for this.

[RoleSettings]

PolicyOmitList[]=user/login

PolicyOmitList[]=user/logout

PolicyOmitList[]=user/forgotpassword

PolicyOmitList[]=user/register

PolicyOmitList[]=user/activate

PolicyOmitList[]=mymodule/myfunction

Disabling specific functions

You can disable certain functions site wide to make your setup more secure. You can e.g. disable user registering for your website.

[SiteAccessRules]

Rules[]

# Enable all functions

Rules[]=Access;enable

Rules[]=ModuleAll;true

# Disable setup module and user register

Rules[]=Access;disable

Rules[]=Module;setup

Rules[]=Module;user/register

Comments

I wish to remove User Login in the forum

How can I disbale user login in the forums. I am stuck. Someone please help

Restrciting Sections to user groups

It would be good if there was an easy way to restrict areas of the website to members of specific user groups

Contents

Configuration

Configuration
Security
    Non-Virtualhost
    Discussions
    Restrictions
    System security
Optimization
Backup & Restore
Troubleshooting


Created

08/07/2003
11:23:18 am
by Bård Farstad

Last updated

09/07/2003
3:02:01 pm
by Bård Farstad

Authors

Bård Farstad



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.