Unix Technical Forum

Preventing the schema from being revealed.

This is a discussion on Preventing the schema from being revealed. within the pgsql Admins forums, part of the PostgreSQL category; --> Hi I have quite a complex database system and I want to expose a public interface to it without ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 01:39 AM
Ian FREISLICH
 
Posts: n/a
Default Preventing the schema from being revealed.

Hi

I have quite a complex database system and I want to expose a public
interface to it without exposing my (and my company's) months of
work.

Is there a way to grant usage on a schema so that they can execute
functions without allowing that user to view the structure of the
database and the definitions of all the functions.

Or is the only way to put wrapper functions in the public schema
that are defined 'SECURITY DEFINER' so that they can execute functions
in the api schema, that the public user does not have access to?

I wouldn't mind them viewing the wrapper functions.

--
Ian Freislich

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com