RE: [Zope] preventing acquisition
Sorry. -2 points for lack of clarity (my fault) I thought you were talking about a document. If you want to do something like that you will need to use <dtml-with> inside your documents. The only way I know to prevent a user from doing this by typing a URL is to set some security permissions. You might look at http://www.zope.org/Members/rossl/SpecificContext It is not specific to your problem, but it might help. Troy -----Original Message----- From: Robin Becker [mailto:robin@jessikat.fsnet.co.uk] Sent: Tuesday, October 31, 2000 2:52 PM To: Farrell, Troy Cc: Zope@zope.org Subject: Re: [Zope] preventing acquisition In message <DB56BAD3BFCED3119D3100D0B72386560713C41A@wcgtule103.wcg.will iams.com>, Farrell, Troy <troy.farrell@wilcom.com> writes
Sorry for the blank. That was my mistake. Try the <dtml-with> tag and the "only" keyword. ... It's quite difficult to get netscape/ie to do a <dtml-with only>! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- Robin Becker
In article <DB56BAD3BFCED3119D3100D0B72386560713C41E@wcgtule103.wcg.will iams.com>, Farrell, Troy <troy.farrell@wilcom.com> writes
Sorry. -2 points for lack of clarity (my fault)
I thought you were talking about a document. If you want to do something like that you will need to use <dtml-with> inside your documents. The only way I know to prevent a user from doing this by typing a URL is to set some security permissions.
You might look at http://www.zope.org/Members/rossl/SpecificContext It is not specific to your problem, but it might help.
Troy
... well I eventually succeeded for dtml-methods with this kind of thing <dtml-if "absolute_url() != URL1"> <dtml-raise NotFound>.....</dtml-raise> </dtml-if> -- Robin Becker
participants (2)
-
Farrell, Troy -
Robin Becker