Re: [INTERFACES] JDBC update permission denied!!! - Mailing list pgsql-interfaces

From Peter T Mount
Subject Re: [INTERFACES] JDBC update permission denied!!!
Date
Msg-id Pine.LNX.3.95.980609065530.19890A-100000@retep.org.uk
Whole thread Raw
In response to JDBC update permission denied!!!  (Bernhard Matthias Ertl <ertl@delos.dbs.informatik.uni-muenchen.de>)
List pgsql-interfaces
On Mon, 8 Jun 1998, Bernhard Matthias Ertl wrote:

> Hi all, I hope only a small problem: When I'm connecting via JDBC to my
> database, I can select without any problems, but updating I get permission
> denied, and no action is performed. Maybe it is, cause I'm connecting from
> a applet via TCP/IP. In the pga_access the host and also the server are
> trusted.....

No, applet security doesn't filter down to the database. The fact that you
are connecting to the database means that Applet Security isn't affecting
you.

> So, what could I do?

Did you create the tables as a different user to the one the applet is
using? If so, you will have to GRANT update access to the applet user for
them to update the tables.

--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


pgsql-interfaces by date:

Previous
From: Bernhard Matthias Ertl
Date:
Subject: JDBC update permission denied!!!
Next
From: "Jose' Soares Da Silva"
Date:
Subject: M$-Access'97 and TIMESTAMPs