[opencms-dev] Login page defence

Дмитрий Чкалов chkalov at bk.ru
Thu Apr 21 10:34:34 CEST 2005


But how can defence non jsp,html resources(example: images,archives,other files)??

thanks.

-----Original Message-----
From: "Tim Howland" <thowland at organic.com>
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Date: Wed, 20 Apr 2005 17:16:44 -0400
Subject: RE: [opencms-dev] Login page defence

> Dmitry-
> 
> We solved this by embedding code into our templates that checked to see
> if the user was logged in. If it wasn't, they would be redirected to a
> login form. If you search the mailing list archives at opencms.org, I'm
> sure you'll turn up some sample code. 
> 
> This approach won't work with a static export, of course- for that, you
> may need to write custom apache / mysql integration code using
> mod_authdb.
> 
> HTH,
> 
> Tim 
> 
> -----Original Message-----
> From: Dmitry [mailto:chkalov at bk.ru] 
> Sent: Wednesday, April 20, 2005 7:53 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Login page defence
> 
> Hello all.
> 
> I was create login page for web user. My Web user is OpenCMS user but i
> check group of this user (in my case this group is web).
> But how  can I defence directory (or pages) with my login page?? If user
> don`t loggin then he can`t view pages from my directory.
> 
> any point?
> Thanks.
> 
> --
> Dmitry <chkalov at bk.ru>
> 
> 
> 
> _______________________________________________
> 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