Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread Chris Withers
Itamar Shtull-Trauring wrote: > > Another simpler solution is to make all the pages unowned, make new > > pages unowned, and make them remain unowned even when edited. > > I think "unowned" in 2.2 is the like the 2.1 behaviour - executes at the > privilige level of the viewer. :( I'd prefer it

Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread Itamar Shtull-Trauring
Steve Alexander wrote: > Another simpler solution is to make all the pages unowned, make new > pages unowned, and make them remain unowned even when edited. I think "unowned" in 2.2 is the like the 2.1 behaviour - executes at the privilige level of the viewer. -- Itamar S.T. [EMAIL PROTECTED]

Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread Chris Withers
Steve Alexander wrote: > When I write a product that allows users to edit executable content, I > have an extra responsibility to collaborate with the new security model. > As a general princliple, executable content should never be editable by > users with lower permissions than the owner of the

Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread Steve Alexander
KevinL wrote: > > > Steve Alexander wrote: > > However... the zope security system could help with this. Here's an ill > > thought out idea for your consideration :-) > > > > Have a function that takes two sets of permissions, and returns the > > intersection of these sets. Then, use some sort of

Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread Shane Hathaway
Steve Alexander wrote: > > The problem with applying this principle in Zope is that the roles and > > permissions system is very expressive, and it is complex to know when > > one user has lower permissions than another. > > However... the zope security system could help with this. Here's an ill

Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread KevinL
> Steve Alexander wrote: > However... the zope security system could help with this. Here's an ill > thought out idea for your consideration :-) > > Have a function that takes two sets of permissions, and returns the > intersection of these sets. Then, use some sort of local permissions > combina

Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread Steve Alexander
Steve Alexander wrote: > > When I write a product that allows users to edit executable content, I > have an extra responsibility to collaborate with the new security model. > > I reckon that it is up to the ZWiki product to change ownership > appropriately if the page is edited. The zope securit

Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread KevinL
> Chris Withers wrote: > > Paul comes along to read the new ZWiki page, and IIUC, inadvertently > > executes DEE and deletes everything, everywhere, because he is a > > manager, and Jim (still the owner) is a manager and so DEE executes. > > > > Have I missed something? > > When I write a produc

Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread Steve Alexander
Chris Withers wrote: > > Hi, > > This comes from a chat on #zope and some worries I've had since the > server side issue was raised. > > Unless I'm mistaken, the new security model doesn't solve the issue > because ownership isn't changed by editing. > > Lets take the example of a ZWiki page w

[Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread Chris Withers
Hi, This comes from a chat on #zope and some worries I've had since the server side issue was raised. Unless I'm mistaken, the new security model doesn't solve the issue because ownership isn't changed by editing. Lets take the example of a ZWiki page which executes any DTML in its contents whe