[Zope] etcUserFolder

Michel Pelletier michel@digicool.com
Mon, 20 Mar 2000 09:40:23 -0800


mindlace wrote:
> 
> mindlace wrote:
> >
> > mindlace wrote:
> > > I'm trying to use etcUserFolder...
> >
> > And I can't get it to work at all.
> 
> I etcUserFolder works for me now, but my prior question (how can I get
> it to use /etc/shadow?) still stands.

You can't.  As security policy, we do not write code that lets Zope open
files outside of the Zope directory.  You can, of course, do this in
your own code, but we do not recommend it.  My first version of
etcUserFolder actually was able to open files anywhere (hence the name)
but I was enlightened by Jim that this is a possible secuirty hazzard.

-Michel