From: antongiulio05@gmail.com <antongiulio05@gmail.com>
To: Heikki Linnakangas <heikki@enterprisedb.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Authentication trick
Date: Fri, 1 Dec 2006 13:14:29 +0100
Message-ID: <20061201131429.87e1956f.www.gmail.com@localhost.localdomain> (raw)
In-Reply-To: <45700839.4090000@enterprisedb.com>
References: <20061130191032.fe2311a9.www.gmail.com@localhost.localdomain>
<456FF683.7030705@enterprisedb.com>
<20061201115743.288a566a.www.gmail.com@localhost.localdomain>
<45700839.4090000@enterprisedb.com>
Hi Heikki
> You don't want to forbid your users to restore from a backup, do you?
Yes I want! This is a (painful) trick:)
I want to avoid not authorized dump/restore in other machines (a single customer pays for remote upgrading of his db-infos).
If you want dump/restore backup you will contact me - I'll enable new user-authentication based on new "unique-key-from-db" but will disable old key. You pay for one db not 2,3,..... one db:one license
Obviously this is a real pain the ass for restore (but we are thinking to authomatize it with: unlock-new-key/lock-old-key).
Problem now is how to retrieve this unique-key:)
> I'd recommend trusting your users instead of adding limitations like
> that. They can be a real pain the ass if you're user wants to move his
> database to another server, run a warm-standby, backup/restore, run in a
> virtualized environment etc. and you don't want to cause hardship like
> that to your customers, do you?
>
> If you still want to add a server key etc, I'd suggest creating user
> defined function that extracts a system identifier from somewhere else
> than the database.
Thanks,
Giulio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: antongiulio05@gmail.com, heikki@enterprisedb.com
Subject: Re: Authentication trick
In-Reply-To: <20061201131429.87e1956f.www.gmail.com@localhost.localdomain>
References: <20061130191032.fe2311a9.www.gmail.com@localhost.localdomain> <456FF683.7030705@enterprisedb.com> <20061201115743.288a566a.www.gmail.com@localhost.localdomain> <45700839.4090000@enterprisedb.com> <20061201131429.87e1956f.www.gmail.com@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox