[opencms-dev] Password protected areas of the website.
Marcus Redeker
mredeker at web.de
Wed Aug 13 09:09:01 CEST 2003
Can I create a WebUser with the BackOffice user screens? Or do I use the
methods in CmcObject for that?
Thanks,
--Marcus
> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of M Butcher
> Sent: Wednesday, August 13, 2003 5:34 AM
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] Password protected areas of the website.
>
>
> Use WebUsers (not to be confused with the WebUser table which
> is for storing additional info).
>
> Take a look at the Javadocs for the
> com.opencms.file.CmsObject (readWebUser, createWebUser, etc.)
> and com.opencms.file.CmsUser
>
> In short, a webuser is stored in the same table as regular
> users, but 1) does not have permissions to use the CMS and 2)
> does not have much of the permissions that regular users
> have. We use webusers for exactly the purpose you are talking about.
>
> Now, there are also other ways of achieving the same results
> with standard HTTP auth and some tweaks to your code. If
> webuser won't work, you may want to look at building an
> external mechanism.
>
> Hope that helps,
>
> Matt
>
> On Tue, 2003-08-12 at 20:26, Ben Rometsch wrote:
> > Hi There,
> >
> > My company just won a CMS project with one of our clients, with
> > OpenCMS winning the package selection process, so you can
> expect some
> > traffic on this list from our direction for the next few weeks!
> >
> > One of the requirements of the website we are building is a "client
> > area". This will allow users to be provided with a username and
> > password, enabling them to access certain privileged
> resources on the
> > site. I have had a look on opencms.org and the mailing list
> archives,
> > but have not found anything concrete. There was mention of
> a WebUser
> > table in the mailing list, but the search functionality of the mail
> > archive is broken at the moment, so I cannot dig any deeper.
> >
> > What would be the best way to approach this? I don't want these
> > clients to be able to access the CMS Workplace, I just want
> them to be
> > able to see certain sections of the website that are not
> available to
> > the general public. This may rule out using the User management
> > functionality built into OpenCMS, I'm not sure.
> >
> > Thanks,
> > Ben Rometsch
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the
> list, please
> > visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> --
> M Butcher <mbutcher at grcomputing.net>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list