Hi, I spent my week-end learning how to use Zope, it was a nice painful experience. Nice thanks to Zope itself, painful because of the poor docs. The How-Tos helped me a lot but it is a real mess. Here are two questions I did not find the answers : - how to ask for authentification to see my web pages (not manage, just see) ? In Apache one has to put a .htaccess file in the directory. - how to limit the size a folder ? I want to give login to friends so they can add photos in a folder but I don't want to receive more than 200MB of data in this folder. Thanks, Olivier.
Hi,
I spent my week-end learning how to use Zope, it was a nice painful experience. Nice thanks to Zope itself, painful because of the poor docs. The How-Tos helped me a lot but it is a real mess.
We know. :-) Have you checked out the Zope book? http://www.zope.org/Members/michel/ZB/.
Here are two questions I did not find the answers :
- how to ask for authentification to see my web pages (not manage, just see) ? In Apache one has to put a .htaccess file in the directory.
This answer is definitely in the Zope book. If it's not, there's the (unfinished) chapter of the Zope Product Developer's Guide Security chapter at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx.
- how to limit the size a folder ? I want to give login to friends so they can add photos in a folder but I don't want to receive more than 200MB of data in this folder.
There is no quota support in Zope. You'd need to write code to enforce a constraint on total upload size.
And by the way, it's "authentication". Every time I see "authentification", it makes my skin crawl. :-) ----- Original Message ----- From: "Chris McDonough" <chrism@digicool.com> To: "Olivier Ricou" <ricou@aui.fr>; <zope@zope.org> Sent: Monday, October 23, 2000 6:38 AM Subject: Re: [Zope] newbie questions ?
Hi,
I spent my week-end learning how to use Zope, it was a nice painful experience. Nice thanks to Zope itself, painful because of the poor docs. The How-Tos helped me a lot but it is a real mess.
We know. :-) Have you checked out the Zope book? http://www.zope.org/Members/michel/ZB/.
Here are two questions I did not find the answers :
- how to ask for authentification to see my web pages (not manage, just see) ? In Apache one has to put a .htaccess file in the directory.
This answer is definitely in the Zope book. If it's not, there's the (unfinished) chapter of the Zope Product Developer's Guide Security chapter at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx.
- how to limit the size a folder ? I want to give login to friends so they can add photos in a folder but I don't want to receive more than 200MB of data in this folder.
There is no quota support in Zope. You'd need to write code to enforce a constraint on total upload size.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
And by the way, it's "authentication". Every time I see "authentification",
guess how we say in french :) Here is the solution I found to do the .htaccess feature (I haven't found where it is written) : I put in my standard_html_header <dtml-if expr="AUTHENTICATED_USER.getUserName()=='Anonymous User'"> <dtml-raise Unauthorized> Il faut un compte pour voir ces pages. </dtml-raise> </dtml-if> and I add a new type of user with no rights in the acl_user folder. Hence each person with want to see the site should have an account, at least a no right account. Olivier. ps: the french sentence is useless since it never appears.
You could also do (and I would recommend it) by using the security system Zope give you. For example if you go to your root zope folder, click on security and deselect View for Anonymous User, this will have the same effect. ----- Original Message ----- From: "Olivier Ricou" <ricou@aui.fr> To: <zope@zope.org> Sent: Monday, October 23, 2000 9:01 AM Subject: Re: [Zope] newbie questions ?
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
And by the way, it's "authentication". Every time I see "authentification",
guess how we say in french :)
Here is the solution I found to do the .htaccess feature (I haven't found where it is written) : I put in my standard_html_header
<dtml-if expr="AUTHENTICATED_USER.getUserName()=='Anonymous User'"> <dtml-raise Unauthorized> Il faut un compte pour voir ces pages. </dtml-raise> </dtml-if>
and I add a new type of user with no rights in the acl_user folder. Hence each person with want to see the site should have an account, at least a no right account.
Olivier.
ps: the french sentence is useless since it never appears.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Olivier Ricou wrote:
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
And by the way, it's "authentication". Every time I see "authentification",
guess how we say in french :)
I guess since I took 3 years of it, I am barred from guessing? ;^) -- E PLURIBUS LINUX
Heh. authentification hah. http://www.phunc.com/Humor/Signs/ChineseRestraunt Check that out... same kind of humor. Grin. Knight On Mon, 23 Oct 2000, Bill Anderson wrote:
Olivier Ricou wrote:
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
And by the way, it's "authentication". Every time I see "authentification",
guess how we say in french :)
I guess since I took 3 years of it, I am barred from guessing? ;^)
-- E PLURIBUS LINUX
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
That's pretty funny, but what's actually funnier is you mispelling "restaurant" in your URL. :-) ----- Original Message ----- From: "knight" <knight@righteous.net> To: "Bill Anderson" <bill.anderson@libc.org> Cc: <zope@zope.org> Sent: Monday, October 23, 2000 10:18 PM Subject: Re: [Zope] newbie questions ?
Heh. authentification hah.
http://www.phunc.com/Humor/Signs/ChineseRestraunt
Check that out... same kind of humor. Grin.
Knight
On Mon, 23 Oct 2000, Bill Anderson wrote:
Olivier Ricou wrote:
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
And by the way, it's "authentication". Every time I see
"authentification",
guess how we say in french :)
I guess since I took 3 years of it, I am barred from guessing? ;^)
-- E PLURIBUS LINUX
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Uh oh, you got me ;] Probably related to the cold medicine. grin. On Mon, 23 Oct 2000, Chris McDonough wrote:
That's pretty funny, but what's actually funnier is you mispelling "restaurant" in your URL. :-)
----- Original Message ----- From: "knight" <knight@righteous.net> To: "Bill Anderson" <bill.anderson@libc.org> Cc: <zope@zope.org> Sent: Monday, October 23, 2000 10:18 PM Subject: Re: [Zope] newbie questions ?
Heh. authentification hah.
http://www.phunc.com/Humor/Signs/ChineseRestraunt
Check that out... same kind of humor. Grin.
Knight
On Mon, 23 Oct 2000, Bill Anderson wrote:
Olivier Ricou wrote:
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
And by the way, it's "authentication". Every time I see
"authentification",
guess how we say in french :)
I guess since I took 3 years of it, I am barred from guessing? ;^)
-- E PLURIBUS LINUX
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
http://www.phunc.com/Humor/Signs/ChineseRestaurant There. ;] On Mon, 23 Oct 2000, Chris McDonough wrote:
That's pretty funny, but what's actually funnier is you mispelling "restaurant" in your URL. :-)
----- Original Message ----- From: "knight" <knight@righteous.net> To: "Bill Anderson" <bill.anderson@libc.org> Cc: <zope@zope.org> Sent: Monday, October 23, 2000 10:18 PM Subject: Re: [Zope] newbie questions ?
Heh. authentification hah.
http://www.phunc.com/Humor/Signs/ChineseRestraunt
Check that out... same kind of humor. Grin.
Knight
On Mon, 23 Oct 2000, Bill Anderson wrote:
Olivier Ricou wrote:
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
And by the way, it's "authentication". Every time I see
"authentification",
guess how we say in french :)
I guess since I took 3 years of it, I am barred from guessing? ;^)
-- E PLURIBUS LINUX
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (5)
-
Andy McKay -
Bill Anderson -
Chris McDonough -
knight -
Olivier Ricou