Forums / Setup & design / Anonymous users and multi-site setup

Anonymous users and multi-site setup

Author Message

Marc Boon

Monday 23 January 2006 6:02:50 am

If you have multiple sites sharing the same database, how do you prevent anonymous users (ie. the internet audience) to access nodes from one of the other sites using system urls like content/view/full? I thought of using different sections for each site, but you want all users to have access to each sites, but not to access nodes belonging to domainA from domainB. How to arange this, if you want to share (some) content among the different sites, and use a single ez publish installation?
Does anybody have experience with multi-site setups that share the same database and ez publish installation? It's supposed to be a featue of ez publish, but it's not really documented anywhere.

Kristof Coomans

Monday 23 January 2006 11:03:34 pm

I'm not sure of this as I didn't try this myself, but maybe you can set different anonymous users for the different site accesses.

In site.ini.append of your siteaccess:

[UserSettings]
AnonymousUserID=10

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org