pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lonnie Cumberland <lonnie_cumberland@yahoo.com>
To: pgsql-interfaces@postgresql.org
Cc: pgsql-general@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Client/Server Security question
Date: Fri, 20 Apr 2001 08:04:26 -0700 (PDT)
Message-ID: <20010420150426.45854.qmail@web12502.mail.yahoo.com> (raw)

Hello All,

We are developing an application that will allow our websites to talk to our
database.

In the interest of security, I am wondering if it is possible to turn off some
of the functions in the SQL command list such that a user can only communicate
to the database through our functions.

What I mean is this. We have built a number of "C" extensions and PL/pgSQL
proceedures that will work on our database, but I only want to allow an outside
query to only one or two of our selected entry points.

The webserver interface query statement might, for example, be able to only
call "select register_user(.......)" or "select login_user(....)" and NONE of
the other PostgreSQL command functions.

I only want to allow access to these functions from the outside world, but the
server needs to be able to execute all of the original functions without
restrictions.

Any information on this would be greatly appreciated,
Lonnie

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



view thread (4+ messages)  latest in thread

Message-ID: <20010420150426.45854.qmail@web12502.mail.yahoo.com>
Permalink:  ../20010420150426.45854.qmail@web12502.mail.yahoo.com/
Also on:    postgresql.org/message-id/20010420150426.45854.qmail@web12502.mail.yahoo.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lonnie_cumberland@yahoo.com, pgsql-general@postgresql.org, pgsql-sql@postgresql.org
  Subject: Re: Client/Server Security question
  In-Reply-To: <20010420150426.45854.qmail@web12502.mail.yahoo.com>

* 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