Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restricting Access to specific tables via Excel

Status
Not open for further replies.

meagain

MIS
Nov 27, 2001
112
CA
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!
 
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
 
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.
 
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:
[URL unfurl="true"]http://docs.pervasive.com/products/database/psqlv12/wwhelp/wwhimpl/js/html/wwhelp.htm#href=sqlref/syntaxref.03.48.htm#2339538[/url]

Mirtheil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top