[opencms-dev] Access permissions to my website private pages

Philip subp at wachtel.us
Wed Jul 28 21:22:02 CEST 2004


Ok, forget it.  

I don't know what happened.  I walked away from the problem for a while, and
when I came back, the login setup as I illustrated below just worked.  So, I
must have been being stupid.

Thanks,
Philip 

-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Philip
Sent: Wednesday, July 28, 2004 1:02 PM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Access permissions to my website private pages

Hi there,

I've been playing a lot with different kinds of login access.  I've been
able to make a custom login page log a user in, but I don't seem to be able
to get auth.basic=true to work.  

I'm using OpenCMS 5.0.1 on Jboss and all seems to work properly, in general.

Here's what I've done that doesn't work:
I have a basic html page that is set NOT to export (export=false) to which
is set the following permissions:
rwvrwv--v-

The first thing I notice is that when I publish, I get:
Exporting /www/photoalbum/index.html
Exception com.opencms.core.CmsException: 31 Access denied to resource.
Detailed error: [com.opencms.file.mySql.CmsResourceBroker]
/default/vfs/www/photoalbum/index.html. 
at
com.opencms.file.genericSql.CmsResourceBroker.readFileHeader(CmsResourceBrok
er.java:5365)
.....

Then, when I access the page from a new browser, it does give me the OpenCMS
popup login, but it won't actually log me in.  It fails after three tires
and gives me a 401.  If I log in and then hit that page, I can view the
page, no problem.  So, there's something wrong with the actual basic login
process.

The log says only:
[28.07.2004 12:56:18] <opencms_info> [OpenCmsServlet] Access denied.
com.opencms.core.CmsException: [com.opencms.file.mySql.CmsResourceBroker]
/default/vfs/www/photoalbum/index.html
[28.07.2004 12:56:19] <opencms_info> [OpenCmsServlet] Access denied.
com.opencms.core.CmsException: [com.opencms.file.mySql.CmsResourceBroker]
/default/vfs/www/photoalbum/index.html
[28.07.2004 12:56:21] <opencms_info> [OpenCmsServlet] Access denied.
com.opencms.core.CmsException: [com.opencms.file.mySql.CmsResourceBroker]
/default/vfs/www/photoalbum/index.html
...
over and over...

Any thoughts?

Thanks!
Philip

-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Martin, Eva Maria
Sent: Monday, May 31, 2004 4:34 AM
To: 'opencms-dev at opencms.org'
Subject: Re: [opencms-dev] Access permissions to my website private pages


Luca,
Thank you very much for the help.
It seems to work OK.
Thanks so much,
Eva


> Date: Tue, 25 May 2004 15:51:50 +0200
> From: "luca.bonzagni" <luca.bonzagni at freefile.it>
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] Access permissions to my website private 
> pages
> Reply-To: opencms-dev at opencms.org
> 
> I've done like this description and until now it's work well:
> -create a new Group "MyGroup"
> Parent Group : Guests
> Set this Group like Projectmanager,ProjecUser Save.
> 
> -create new Users "MyUser"
> User directly in the Group : User,Administrators,MyGroup User 
> Indirectly in the Group: Guests
> 
> Ok now create a new Project(remember before to create the directory).
"MyProject"
> Insert UserGroup="MyGroup"
> ManagerGroup="MyGroup"
> 
> Create a new Page. "MyPage.html"
> Modify the permission of this page like this:
> Owner=r,w,v.
> Group=r,w,v.
> Others=v.
> internal=. 
> 
> Ok,
> now open a new Browser page (important) put the url of your resources.
> 
> Stop
> Let meknow
> and good luck
> 
> 
> 
> 
> 
> 
> 
> __________________________________
> Ing. Luca Bonzagni
> e-mail: luca.bonzagni at freefile.it
> FreeFile S.r.l.
> Via Margotti, 10
> Casalecchio di Reno(BO)
> Cel. (+39)349.21.45.046
> www.freefile.it
> 
> 
> -----Original Message-----
> From: "Martin, Eva Maria" <evamaria.martin at eds.com>
> To: "'opencms-dev at opencms.org'" <opencms-dev at opencms.org>
> Date: Fri, 21 May 2004 13:37:45 +0100
> Subject: [opencms-dev] Access permissions to my website private pages
> 
> 
> Hi,
> 
> Please, I would like to know how to set permissions for the users of a 
> website to access the different pages.
> 
> For example, if I want a part of my website (developed with OpenCMS) 
> to be private for certain users, whenever that page is requested a 
> window should come up asking for user and password.
> 
> How can I do this??
> 
> Thanx a lot.
> 
> Eva Martin
> 
> _______________________________________________
> 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


--__--__--

Eva Martin


_______________________________________________
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


_______________________________________________
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