hi I'm working on a website which should be online soon. Before we go online, we want to test the site. That's why we invited some people to test all the stuff for us. The site is built up like this: root folder - homepage_dir -- subdirs --- subdirs ... The index_html in the root folder should be displayed for all visitors, but the content in the homepage_dir (and subdirs) have to be password protected. How can I do this? Do I have to set the security permissions for every single file? I hope you understood my question :] regards Simon
On the protected folder's management screen find and click the Security tab. On that tab, clear the checkmark in the option box to the left of permission View and check the box for View in the 2nd and 3rd coloumn to the right, that belongs to Authenticated users and Managers. This way you tell Zope require authentication before displaying the contents of the folder and below. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Simon Brun Sent: 2002. január 29. 11:07 To: zope@zope.org Subject: [Zope] Secure testarea hi I'm working on a website which should be online soon. Before we go online, we want to test the site. That's why we invited some people to test all the stuff for us. The site is built up like this: root folder - homepage_dir -- subdirs --- subdirs ... The index_html in the root folder should be displayed for all visitors, but the content in the homepage_dir (and subdirs) have to be password protected. How can I do this? Do I have to set the security permissions for every single file? I hope you understood my question :] regards Simon _______________________________________________ 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 )
Thx for answering... I did it this way before I wrote to the mailinglist. But I can't login with any account when I try to access the folder or a folder below. There is always the "Unauthorized - You are not authorized to access this resource"-error. I created a manager only account and an account without any roles but it doesn't work and I don't know why. regards Simon e-Musty wrote:
On the protected folder's management screen find and click the Security tab. On that tab, clear the checkmark in the option box to the left of permission View and check the box for View in the 2nd and 3rd coloumn to the right, that belongs to Authenticated users and Managers.
This way you tell Zope require authentication before displaying the contents of the folder and below.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Simon Brun Sent: 2002. január 29. 11:07 To: zope@zope.org Subject: [Zope] Secure testarea
hi
I'm working on a website which should be online soon. Before we go online, we want to test the site. That's why we invited some people to test all the stuff for us.
The site is built up like this:
root folder - homepage_dir -- subdirs --- subdirs ...
The index_html in the root folder should be displayed for all visitors, but the content in the homepage_dir (and subdirs) have to be password protected. How can I do this? Do I have to set the security permissions for every single file?
I hope you understood my question :]
regards
Simon
_______________________________________________ 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 )
-- ________________________________________________________ News: Order a free iEX ticket @ www.terreActive.ch ________________________________________________________ t e r r e A c t i ve AG The architects for secure ecommerce... tel://++41 (0)62 823 93 55 email://simon.brun@tac.ch mob://++41 (0)76 585 07 06 http://www.terreActive.ch ________________________________________________________
Huh, Guy, the problem against which I'm just fighting is that Zope wants to authenticate users too many times. Then you are coming telling Zope do not want to authenticate you :-) If I have Internet Explorer, I would simply restart the browser to force session data deleted and Zope to aks me to log-in again. Once you have logged in, IE looks like providing authentication info without asking you, but this whole business is very confused... Can you access that resourc with the account with which you have created those protected folders? -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Simon Brun Sent: 2002. január 29. 14:42 To: emusty@mailbox.hu; zope@zope.org Subject: Re: [Zope] Secure testarea Thx for answering... I did it this way before I wrote to the mailinglist. But I can't login with any account when I try to access the folder or a folder below. There is always the "Unauthorized - You are not authorized to access this resource"-error. I created a manager only account and an account without any roles but it doesn't work and I don't know why. regards Simon e-Musty wrote:
On the protected folder's management screen find and click the Security
tab.
On that tab, clear the checkmark in the option box to the left of permission View and check the box for View in the 2nd and 3rd coloumn to the right, that belongs to Authenticated users and Managers.
This way you tell Zope require authentication before displaying the contents of the folder and below.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Simon Brun Sent: 2002. január 29. 11:07 To: zope@zope.org Subject: [Zope] Secure testarea
hi
I'm working on a website which should be online soon. Before we go online, we want to test the site. That's why we invited some people to test all the stuff for us.
The site is built up like this:
root folder - homepage_dir -- subdirs --- subdirs ...
The index_html in the root folder should be displayed for all visitors, but the content in the homepage_dir (and subdirs) have to be password protected. How can I do this? Do I have to set the security permissions for every single file?
I hope you understood my question :]
regards
Simon
_______________________________________________ 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 )
-- ________________________________________________________ News: Order a free iEX ticket @ www.terreActive.ch ________________________________________________________ t e r r e A c t i ve AG The architects for secure ecommerce... tel://++41 (0)62 823 93 55 email://simon.brun@tac.ch mob://++41 (0)76 585 07 06 http://www.terreActive.ch ________________________________________________________ _______________________________________________ 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 )
d'oh! In IE 6.0 it works really fine. I have to login once and everything is working... _But_ in Netscape and Konqueror I can't login. Neither with the manager account nor with the "non roles" account. Hmmm... I don't understand this! regards Simon e-Musty wrote:
Huh, Guy, the problem against which I'm just fighting is that Zope wants to authenticate users too many times. Then you are coming telling Zope do not want to authenticate you :-)
If I have Internet Explorer, I would simply restart the browser to force session data deleted and Zope to aks me to log-in again. Once you have logged in, IE looks like providing authentication info without asking you, but this whole business is very confused...
Can you access that resourc with the account with which you have created those protected folders?
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Simon Brun Sent: 2002. január 29. 14:42 To: emusty@mailbox.hu; zope@zope.org Subject: Re: [Zope] Secure testarea
Thx for answering...
I did it this way before I wrote to the mailinglist. But I can't login with any account when I try to access the folder or a folder below. There is always the "Unauthorized - You are not authorized to access this resource"-error. I created a manager only account and an account without any roles but it doesn't work and I don't know why.
regards
Simon
e-Musty wrote:
On the protected folder's management screen find and click the Security
tab.
On that tab, clear the checkmark in the option box to the left of permission View and check the box for View in the 2nd and 3rd coloumn to the right, that belongs to Authenticated users and Managers.
This way you tell Zope require authentication before displaying the contents of the folder and below.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Simon Brun Sent: 2002. január 29. 11:07 To: zope@zope.org Subject: [Zope] Secure testarea
hi
I'm working on a website which should be online soon. Before we go online, we want to test the site. That's why we invited some people to test all the stuff for us.
The site is built up like this:
root folder - homepage_dir -- subdirs --- subdirs ...
The index_html in the root folder should be displayed for all visitors, but the content in the homepage_dir (and subdirs) have to be password protected. How can I do this? Do I have to set the security permissions for every single file?
I hope you understood my question :]
regards
Simon
-- ________________________________________________________ News: Order a free iEX ticket @ www.terreActive.ch ________________________________________________________ t e r r e A c t i ve AG The architects for secure ecommerce... tel://++41 (0)62 823 93 55 email://simon.brun@tac.ch mob://++41 (0)76 585 07 06 http://www.terreActive.ch ________________________________________________________
Simon Brun wrote:
d'oh!
In IE 6.0 it works really fine. I have to login once and everything is working... _But_ in Netscape and Konqueror I can't login. Neither with the manager account nor with the "non roles" account.
Hmmm... I don't understand this!
regards
Simon
You can use the tcpwatch utility from Shane Hathaway to look at the http traffic from your browser to zope. So you are able to find out what's the difference between these browsers. http://www.zope.org/Members/hathawsh/tcpwatch cheers, oliver
participants (3)
-
e-Musty -
Oliver Bleutgen -
Simon Brun