I have zope server. I need to create a link to some sensative data. only authrized user can view but can not modify it. how can i do that? Thanks Jianping
In the management interface you can protect easily every object(folder, document). But it's easier for you if you look at the zope book: http://www.zope.org/Documentation/Books/ZopeBook/current/contents And then look at 'Users and Security' ----- Original Message ----- From: "Jianping Zhu" <jzhu@fisher.forestry.uga.edu> To: <zope@zope.org> Sent: Thursday, June 26, 2003 6:20 PM Subject: [Zope] how to protect a link
I have zope server.
I need to create a link to some sensative data. only authrized user can view but can not modify it. how can i do that?
Thanks
Jianping
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Use permissions. http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Security.stx HTH, Dylan On Thu, 2003-06-26 at 09:20, Jianping Zhu wrote:
I have zope server.
I need to create a link to some sensative data. only authrized user can view but can not modify it. how can i do that?
Thanks
Jianping
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
The biid do have lots of stuff about user and role What i can want to do now is i have a link myfile links http://www.mysite.com/dbfolder/myfile.db, when people click myfile trying to download myfile.db, the system will ask her/him to provide password to download it. I guess i need do something to the foler dbfolder, but i do not know how. Can someone give me some further suggestion? Thanks On Thu, Jun 26, 2003 at 09:50:12AM -0700, Dylan Reinhardt wrote:
Use permissions.
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Security.stx
HTH,
Dylan
On Thu, 2003-06-26 at 09:20, Jianping Zhu wrote:
I have zope server.
I need to create a link to some sensative data. only authrized user can view but can not modify it. how can i do that?
Thanks
Jianping
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
What i can want to do now is i have a link myfile links http://www.mysite.com/dbfolder/myfile.db, when people click myfile trying to download myfile.db, the system will ask her/him to provide password to download it. I guess i need do something to the In the management interface go to the file and then click on the tab Security. Then uncheck 'Acquire Permission Settings'. That's all. No everyone who tries to download the file will be prompted. But try to read the book!
On Thu, Jun 26, 2003 at 07:59:28PM +0200, Sven Hohage wrote:
What i can want to do now is i have a link myfile links http://www.mysite.com/dbfolder/myfile.db, when people click myfile trying to download myfile.db, the system will ask her/him to provide password to download it. I guess i need do something to the In the management interface go to the file and then click on the tab Security. Then uncheck 'Acquire Permission Settings'. That's all. No everyone who tries to download the file will be prompted. But try to read the book!
I added a new role Viewer. and unchecked Acquire Permission Settings' the checked view for role Viewer. after that i add a user user1 with role Viewer. I suppose i will be able to access myfile.db by prividing user1' password. but i failed!!! i can not access it. Can somebody give me a hint to settle this problem? Thanks
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Thu, 2003-06-26 at 13:53, Jianping Zhu wrote:
Can somebody give me a hint to settle this problem?
Yes: Read the documentation. Once again, it is available at: http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Security.stx I think you'll find help a lot more forthcoming once you've done that. FWIW, Dylan
participants (3)
-
Dylan Reinhardt -
Jianping Zhu -
Sven Hohage