ez.no / ezpublish / documentation / configuration / security / restrictions
These documentation pages are no longer maintained. Please visit the new documentation site.
How to disable certain functions on your site.
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
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
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
Davis Weddi
Sunday 15 August 2004 12:19:12 pm
Restrciting Sections to user groups
limeelone Lone
Wednesday 16 June 2004 8:36:25 pm