Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

This system will self-destruct in five minutes.


devel / comp.databases.ingres / Installation Password vs DBMS Authentication

SubjectAuthor
* Installation Password vs DBMS AuthenticationSteve
`* Re: [Info-ingres] Installation Password vs DBMS AuthenticationSteve
 `- Re: [Info-ingres] Installation Password vs DBMS AuthenticationKarl Schendel

1
Installation Password vs DBMS Authentication

<9e7e851b-ac1e-4c16-b07c-fe29debb0e97n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=108&group=comp.databases.ingres#108

  copy link   Newsgroups: comp.databases.ingres
X-Received: by 2002:a0c:fdc8:: with SMTP id g8mr18328476qvs.12.1630223592065;
Sun, 29 Aug 2021 00:53:12 -0700 (PDT)
X-Received: by 2002:a05:6830:2108:: with SMTP id i8mr14216520otc.336.1630223591710;
Sun, 29 Aug 2021 00:53:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ingres
Date: Sun, 29 Aug 2021 00:53:11 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=1.129.109.29; posting-account=uL8iyAoAAABmcpUSs5hxN0c_ls8MZOL5
NNTP-Posting-Host: 1.129.109.29
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9e7e851b-ac1e-4c16-b07c-fe29debb0e97n@googlegroups.com>
Subject: Installation Password vs DBMS Authentication
From: s.anders...@gmail.com (Steve)
Injection-Date: Sun, 29 Aug 2021 07:53:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Steve - Sun, 29 Aug 2021 07:53 UTC

Hi folks

Is using an Installation Password considered less secure, versus say DBMS authentication, when connecting to a remote Ingres installation?

To give some context, I am thinking in terms of a cloud environment where Ingres installations can be spun up and down willy nilly. By spun up, I mean where Ingres is installed and started on a new server instance with the press of a button (well, that’s the theory).

I thought DBMS authentication maybe more secure for connecting to a remote instance - presumably each user is prompted for their password when connecting. However, this would require the newly created Ingres installation to have the user information in order to authenticate the user.

Also, this ignores the fact that the cloud provider will have their own layer of security.

Any thoughts (apart from don’t over think it)?

Thanks
Steve

Re: [Info-ingres] Installation Password vs DBMS Authentication

<6f8d90bb-2d9e-4098-a565-99564db5def0n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=109&group=comp.databases.ingres#109

  copy link   Newsgroups: comp.databases.ingres
X-Received: by 2002:a0c:b394:: with SMTP id t20mr601788qve.58.1631153574429;
Wed, 08 Sep 2021 19:12:54 -0700 (PDT)
X-Received: by 2002:a9d:4b84:: with SMTP id k4mr444185otf.98.1631153574108;
Wed, 08 Sep 2021 19:12:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ingres
Date: Wed, 8 Sep 2021 19:12:53 -0700 (PDT)
In-Reply-To: <mailman.82.1630279012.1681.info-ingres@lists.planetingres.org>
Injection-Info: google-groups.googlegroups.com; posting-host=1.145.54.154; posting-account=uL8iyAoAAABmcpUSs5hxN0c_ls8MZOL5
NNTP-Posting-Host: 1.145.54.154
References: <9e7e851b-ac1e-4c16-b07c-fe29debb0e97n@googlegroups.com> <mailman.82.1630279012.1681.info-ingres@lists.planetingres.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6f8d90bb-2d9e-4098-a565-99564db5def0n@googlegroups.com>
Subject: Re: [Info-ingres] Installation Password vs DBMS Authentication
From: s.anders...@gmail.com (Steve)
Injection-Date: Thu, 09 Sep 2021 02:12:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 39
 by: Steve - Thu, 9 Sep 2021 02:12 UTC

On Monday, August 30, 2021 at 9:18:09 AM UTC+10, Paul White wrote:
> Hi Steve,
> I think the installation password is designed to be used in a protected network environment where you are in control of the enduser names. The authentication matches the client OS user with a DBMS user and optional password..
> Most of my sites use Server and Database users with hard coded vnodes and DSNs. At one site, we have a development effort to migrate towards a combination of installation password, app/role passwords and some user passwords.. We have been experimenting with 2FA and temporary passwords to act like a token. It seems reasonably secure.
> OpenROAD challenges AppUser + password,
> Sends a message to the security service to allow a match on Device, Active Directory User/Group, Application, AppUser, password.
> If matched ok, the service:
> - refreshes the the database user: expiry date and temporary password.
> - sends an SMS with 4-6 digit pin to nominated mobile number.
> - responds to OpenROAD with a one time token
> The user enters the pin which combines with the token to be used as the database password
> OpenROAD connects to the database.
> Application logic uses role/password to allow access to various tables
> 2FA function wraps some secure functions like financial authorisations
> This is all internally developed with a little bit of C for the security service and client end DLL. We might dabble with Okta integration which is already in use at the site. I am also considering an architecture written in OpenROAD entirely and using DB events to sent the authorisation messages.
> Paul

Sounds impressive Paul.

I turned on DBMS authentication in our development environment and the existing vnodes stopped working.

Am I right in thinking that upon turning on DBMS authentication any existing vnodes will stop working, if the users specified in those vnodes don’t have a DBMS password, as Ingres will authenticate the users, rather than the OS? Makes sense to me, since DBMS authentication was turned on.

Steve

Re: [Info-ingres] Installation Password vs DBMS Authentication

<mailman.83.1631155099.1681.info-ingres@lists.planetingres.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=110&group=comp.databases.ingres#110

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 08 Sep 2021 21:40:03 -0500
Return-Path: <schendel@kbcomputer.com>
X-Original-To: info-ingres@lists.planetingres.org
Delivered-To: info-ingres@mort.croker.net
From: schen...@kbcomputer.com (Karl Schendel)
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Wed, 8 Sep 2021 22:38:16 -0400
References: <9e7e851b-ac1e-4c16-b07c-fe29debb0e97n@googlegroups.com>
<mailman.82.1630279012.1681.info-ingres@lists.planetingres.org>
<6f8d90bb-2d9e-4098-a565-99564db5def0n@googlegroups.com>
To: info-ingres@lists.planetingres.org
In-Reply-To: <6f8d90bb-2d9e-4098-a565-99564db5def0n@googlegroups.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Subject: Re: [Info-ingres] Installation Password vs DBMS Authentication
X-BeenThere: info-ingres@lists.planetingres.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <info-ingres.lists.planetingres.org>
List-Unsubscribe: <https://lists.planetingres.org/mailman/options/info-ingres>,
<mailto:info-ingres-request@lists.planetingres.org?subject=unsubscribe>
List-Archive: <https://lists.planetingres.org/pipermail/info-ingres/>
List-Post: <mailto:info-ingres@lists.planetingres.org>
List-Help: <mailto:info-ingres-request@lists.planetingres.org?subject=help>
List-Subscribe: <https://lists.planetingres.org/mailman/listinfo/info-ingres>,
<mailto:info-ingres-request@lists.planetingres.org?subject=subscribe>
Newsgroups: comp.databases.ingres
Message-ID: <mailman.83.1631155099.1681.info-ingres@lists.planetingres.org>
Lines: 15
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-T4pXsplkG6aybYebJZbaOUyRuJ9B18l+otfKL83AuDu8BIbROxhWlFIz6zA+rUX6277bjx7JYaoYQqy!Pe9S353QJ2lJNFRPY8zKgxAiOyAIR9CLyYWQSJX7+TsdECkZyvZlsnAFReXmQnwf1YOfq/ahTJL3!QiNMoIr4Zv8F8giA1stOvQ==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2718
 by: Karl Schendel - Thu, 9 Sep 2021 02:38 UTC

On Sep 8, 2021, at 10:12 PM, Steve <s.anderson.au@gmail.com> wrote:
>
>
> I turned on DBMS authentication in our development environment and the existing vnodes stopped working.

Right, because with DBMS auth ON, the DBMS is the sole authenticator of Ingres users. The vnode
username and password is passed to the DBMS, so if you don't have the right username and
password defined in the iidbdb user table to match what's in the vnode, it will fail authentication.

Karl

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor