Forums / Install & configuration / Roles & Users, Requiring Login for Client Section

Roles & Users, Requiring Login for Client Section

Author Message

Mike Cohen

Friday 28 February 2003 12:51:20 am

I have a client section that I want to restrict access to based on a login. I set up a section, then excluded it from the limitation list for the anonymous user. This removed the link to this section from all site navigation.

I'd like the link to be visible, and when a user clicks on the link, they are presented with a login screen. If they have been assigned a username and password, they get access, otherwise they don't.

Is this possible?

Thank you,

Mike

Volker Lenz

Monday 03 March 2003 3:47:42 am

> I have a client section that I want to restrict access to
> based on a login. I set up a section, then excluded it from
> the limitation list for the anonymous user. This removed the
> link to this section from all site navigation.
>
> I'd like the link to be visible, and when a user clicks on
> the link, they are presented with a login screen. If they
> have been assigned a username and password, they get access,
> otherwise they don't.
>
> Is this possible?
>
> Thank you,
>
> Mike

I recommend to wait with this until ezp3 is available in final release. In current ezp3-rc2, user management is quite fragile (credentials validation is not processed in a robust way, you are logged in without being granted access to sites etc.)

I issued some bug reports & patches to many problems I encountered when trying to accomplish the thing you have in mind.

I finally made a client/public - zone setup work on my local ezp3-rc2 testbox now, but to make it work in sensible & safe way, I had to code stuff for about 10 days. Consider if you want to go this path, too, or if you can afford to postpone the protected zone issue.