Client/Server Security question

From: Lonnie Cumberland <lonnie_cumberland(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Cc: pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Client/Server Security question
Date: 2001-04-20 15:04:26
Message-ID: 20010420150426.45854.qmail@web12502.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-interfaces pgsql-sql

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/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shannon Peevey 2001-04-20 15:48:26 converting to postgresql
Previous Message Tom Lane 2001-04-20 15:01:16 Re: Logical expn not shortcircuiting in trigger function?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Ludek Finstrle 2001-04-20 16:58:30 Re: Postgres problem
Previous Message Lonnie Cumberland 2001-04-20 13:12:02 Re: Re: Now for the VARDATA, VARSIZE, and VARHDRSZ stuff

Browse pgsql-sql by date

  From Date Subject
Next Message Roberto Mello 2001-04-20 16:31:41 Re: persistent connections, AOLserver (Was: [SQL] maybe Offtopic : PostgreSQL & PHP ?)
Previous Message Lonnie Cumberland 2001-04-20 13:12:02 Re: Re: Now for the VARDATA, VARSIZE, and VARHDRSZ stuff