dbTalk Databases Forums  

read-only user

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss read-only user in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Doug Stone
 
Posts: n/a

Default read-only user - 01-25-2010 , 03:04 PM






One of our customers wants to have crystal reports access to our
application's database.
I think the best path is to setup a read-only user with access to all our
app's tables.
Does anyone have suggestions/cautions?
Thanks,
Doug

Reply With Quote
  #2  
Old   
Volker Barth
 
Posts: n/a

Default Re: read-only user - 01-27-2010 , 02:58 AM






Doug,
we generally take this approach when user need only restricted access.

An easy way to do so is to
1. make the owner of your application schema a group (if it is not
already) but don't grant rights on tables for that group,
2. create a read-only user,
3. make the user a member of the group and
4. grant the user select rights on all the needed tables/views/stps and
the like (which is likely to be only a part of your app's schema).

The "make the user a member of the group" part assures that the readonly
user can access tables without need to qualifying names. That might be
helpful if the user has to use existing queries where names are not
qualified.

I guess there are a bunch of topics in this (and the product futures) NG
according to your request.

HTH
Volker

Doug Stone wrote:
Quote:
One of our customers wants to have crystal reports access to our
application's database.
I think the best path is to setup a read-only user with access to all
our app's tables.
Does anyone have suggestions/cautions?
Thanks,
Doug

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.