简体   繁体   English

如何禁用特定Pervasive用户帐户的存储过程查看权限?

[英]How do I disable stored procedure viewing rights for a specific Pervasive user account?

I would like to disable a Pervasive user account from viewing a stored procedure which contains sensitive algorithms. 我想禁止Pervasive用户帐户查看包含敏感算法的存储过程。

I have been unable to find anything on the Action PSQL documentation page ( http://docs.actian.com/psql/PSQLv13/index.html ). 我在Action PSQL文档页面( http://docs.actian.com/psql/PSQLv13/index.html )上找不到任何内容。 I know that for MSSQL this can be done by using a DENY eg 我知道对于MSSQL,可以通过使用DENY例如

DENY VIEW DEFINITION ON dbo.stored_procedure TO User

Is there an equivalent Pervasive SQL command which I can use to do this? 我可以使用等效的Pervasive SQL命令吗?

I'm not aware of anyway to prevent viewing the Stored Procedures. 我仍然无法阻止查看存储过程。 Views are protected but Triggers, Functions, and Stored Procedures aren't protected from the "Edit" option in the Pervasive Control Center (PCC). 视图受保护,但触发器,函数和存储过程不受Pervasive Control Center(PCC)中的“编辑”选项的保护。 Even if they were protected, selecting from the system tables (for stored procedures, X$PROC )was still available from the PCC. 即使它们受到保护,PCC仍然可以从系统表中进行选择(对于存储过程,为X$PROC )。 I was even able to execute a User Defined Function when the group the user was logged in with had no rights at all. 当用户完全没有权限登录的组时,我什至能够执行用户定义的功能。 The command to remove rights is REVOKE . 删除权限的命令是REVOKE In V2 Metadata databases, there is a permission to grant/revoke rights to alter a procedure but it doesn't prevent viewing it. 在V2元数据数据库中,可以授予/撤消更改过程的权限,但它不会阻止对其进行查看。
Contacting Actian might be your best source for help. 联系Actian可能是您寻求帮助的最佳来源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM