[Tickets #6653] Re: File based preference driver

bugs at horde.org bugs at horde.org
Tue May 20 11:21:04 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6653
-----------------------------------------------------------------------
 Ticket             | 6653
 Updated By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
 Summary            | File based preference driver
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Enhancement
 State              | Resolved
 Priority           | 1. Low
 Milestone          |
 Patch              | 1
 Owners             | Chuck Hagenbuch
-----------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2008-05-20 07:21) wrote:

Hello Scott,

> in the config: "Directory to store the preferences in."
>
> It's not quite clear where this points when this path is relative. I
> can put in an absolute path, but I'd like to keep the preference
> system inside of the horde installation for portability.

A relative directory is a bit painful as it's not intuitive to what it
relates to.
The best solution would be to relative to the horde base, but this imposes
security problems anyway if you don't protect the directory with a
.htaccess file from outside access. It's not easy to fix as horde will not
provide an empty file-based  prefs directory by default.

Maybe it's best to prevent relative paths at all to protect users from
accidentally exposing sensitive preference data? Though this would be quite
the opposite to what you've asked for... :o)

Thomas





More information about the bugs mailing list