Hi, With all the talk of security and Zope 2.2 I thought I'd throw this one into the post again: How come you can browse things like the objectIds and objectValues methods through the web? Surely this is exposing information that people shouldn't really know about? For example, check out: http://www.zope.org/objectIds While I'm at it, is there any way to make DTML methods accessible to objects (such as other DTML methods) but not through URLs other than by a tortuous series of proxy roles? I've expressed views about an 'execute' permission in the past but these have fallen on deaf ears. For example: http://www.codecatalog.com/standard_html_footer This is messy and there's no reason why it needs to be exposed through a URL. cheers, Chris
While I'm at it, is there any way to make DTML methods accessible to objects (such as other DTML methods) but not through URLs other than by a tortuous series of proxy roles? I've expressed views about an 'execute' permission in the past but these have fallen on deaf ears.
You could probably do something useful using siteaccess if you strictly enforced a naming convention across your site. I have wondered about lower casing all incoming URLs so as to make them effectively case independant and this would have a side effect of making all mixed/upper case objects inaccessble. Or you might have a convention that everything web callable had an extension and prevent access to any methods without a dot in the id. Of course siteaccess can be bypassed, but it should be possible to disable this. -- Duncan Booth duncan@dales.rmplc.co.uk int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3" "\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure? http://dales.rmplc.co.uk/Duncan
Hi Duncan :-) Cheers for the reply, but sorry, I'm not looking for a kludge solution. I'm trying to find out if this is as intended, in which case there must be a reason behind it (?!) or if it's a bug, in which case it needs to be squashed... thanks again, Chris
participants (2)
-
Chris Withers -
Duncan Booth