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 11:57:43 +0100
Message-ID: <20061201115743.288a566a.www.gmail.com@localhost.localdomain> (raw)
In-Reply-To: <456FF683.7030705@enterprisedb.com>
References: <20061130191032.fe2311a9.www.gmail.com@localhost.localdomain>
<456FF683.7030705@enterprisedb.com>
> > some commercial softwares use a trick to avoid copy of a db, license-crack, etc. They use generate a key -> "ID of db-instance". For example, if you dump a db on other machine with postgres installed, this key will be different and so application will not start.
>
> PostgreSQL is not commercial, so there's no need for such artificial
> restrictions.
My application is commercial. It uses postgresql. I want include in my-app a "protection-trick" retrieving a some kind of "unique system_identifier". Your pg_control file could be good, but it's a "data-file". How can I extract infos from it?
Around same dir I have found these infos:
"myappdb" 20496 1663 3221455155 229682
Maybe are these the keys?
Thanks,
Giulio
P.S.: sorry, now post became OT for "jdbc".
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: <20061201115743.288a566a.www.gmail.com@localhost.localdomain>
References: <20061130191032.fe2311a9.www.gmail.com@localhost.localdomain> <456FF683.7030705@enterprisedb.com> <20061201115743.288a566a.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