Re: EMBEDDED PostgreSQL

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "John DeSoi" <desoi(at)pgedit(dot)com>, "Christopher Browne" <cbbrowne(at)ca(dot)afilias(dot)info>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: EMBEDDED PostgreSQL
Date: 2005-01-25 22:02:48
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE476703@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<snip>

>This has long been common practice in the Unix world, and is starting
>to become standard practice in the Windows world as well as Microsoft
>and other vendors work to improve the security of their systems.
>==
>
>Again, I think this is fine as the default, but it would be nice if it
>could be changed with a setting (rather than recompiling the source).

That can always be argued :-)

>Not all Windows users are dummies about security and need
>PostgreSQL to
>enforce security measures beyond those implemented on other platforms.

First of all, it does *not* enforce anything beyond what's enforced on
Unix. On Unix, it doesn't run as root. On Windows, it doesn't run as
Administrator.

If your users are running as administrators, then you *are* very naive
about security on your systems (I won't say dummy, but clearly not
making a significant effort). That's where you should fix the problem.

For an embedded database, one can argue that it's much less of an issue.
And if it was possible without making it a major hack, it would seem
reasonable to permit running it as administrator as long as only
localhost connections are provided (not by default, but possible. Not by
default because a ASP page or whatever still turns anything into a root
hole, but it could be configurable). But I don't think that can be done
in a non-intrusive way. And it'd just be a workaround the real issue
anyway.

//Magnus

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-01-25 22:03:36 Re: Delete with a multi-column join?
Previous Message Magnus Hagander 2005-01-25 21:58:49 Re: EMBEDDED PostgreSQL