INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Restricting Access to specific tables via Excel

Restricting Access to specific tables via Excel

(OP)
Hi,

Is there a way to restrict Excel users from accessing a particular table(s) in a Pervasive sql database? Currently they can access all tables via Excel's Data - From Other Sources facility, even when they are unauthorized to view these tables' data via the ERP application which connects to them.

Thanks!

RE: Restricting Access to specific tables via Excel

Sounds like the ERP is using it's own authorization mechanism. The Pervasive ODBC driver will prevent access to table if Database Security is enabled. If the ERP application uses both Btrieve and ODBC (or another relational access method), database security will cause the ERP application to fail.

You'll want to contact the ERP application vendor and ask if enabling Database Security will cause problems in their application.

Mirtheil
http://www.mirtheil.com

RE: Restricting Access to specific tables via Excel

(OP)
Thanks for your response Mirtheil.

Wouldn't the Database Security be for the whole database? I'm looking for a handful of tables to be unavailable via Excel.

Thanks again.

RE: Restricting Access to specific tables via Excel

Database Security would affect the whole database. There really is no way to "hide" tables from Excel other than to deny the user access to them using Database Security. With Database Scurity enabled, you can create a generic user with no password and grant (or revoke) select rights to the tables you want all users to have. The table names will be visible but the user will not be able to access them.
Documentation for GRANT:
http://docs.pervasive.com/products/database/psqlv12/wwhelp/wwhimpl/js/html/wwhelp.htm#href=sqlref/syntaxref.03.48.htm#2339538

Mirtheil
http://www.mirtheil.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close