Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 4D2869FA17F for ; Thu, 30 Nov 2006 13:17:40 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 49425-10 for ; Thu, 30 Nov 2006 13:17:33 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by postgresql.org (Postfix) with ESMTP id 4CD489F9DAD for ; Thu, 30 Nov 2006 13:17:33 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so1958791ugf for ; Thu, 30 Nov 2006 09:17:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding:from; b=F54JAYhl4L5YMdaVYIUauQtugks1uMs1YVw6i049KS7TnhA/XKqqQ8JNBgLJqI8xcpiV0tza7YDYIkDX6MS4qpw8WD5UpzSFARZgNK25a0Rvyb0+yfSoeFEW56JpzGiJUjXx6yixaxaSs4vwFerIaTQLlyFlZYpl+2nfCbjkmEU= Received: by 10.66.232.11 with SMTP id e11mr5787163ugh.1164907050841; Thu, 30 Nov 2006 09:17:30 -0800 (PST) Received: from localhost.localdomain ( [193.204.167.87]) by mx.google.com with ESMTP id 27sm6501633ugp.2006.11.30.09.17.30; Thu, 30 Nov 2006 09:17:30 -0800 (PST) Date: Thu, 30 Nov 2006 19:10:32 +0100 To: pgsql-jdbc@postgresql.org Subject: Authentication trick Message-Id: <20061130191032.fe2311a9.www.gmail.com@localhost.localdomain> X-Mailer: Sylpheed version 2.3.0beta5 (GTK+ 2.8.20; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit From: "antongiulio05@gmail.com" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/184 X-Sequence-Number: 16226 Hi, 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. It was good for Oracle, DB2 and MS-SQL. Is there a "similar key" for Postgres? Is it possible retrieve it via-jdbc? How? Thanks, Giulio