Allowing oracle db login only to specific application?

后端 未结 3 2218
谎友^
谎友^ 2021-01-19 13:54

We want to allow DB access (Oracle) to our users only through our own application - let\'s call it \"ourTool.exe\", installed locally on the users computers. Currently, the

3条回答
  •  攒了一身酷
    2021-01-19 14:08

    Since it's your application and you have control of the source, you can use either password protected database roles or Secure Application Roles that are enabled from ourTool.exe. (see http://www.oracle.com/technology/obe/obe10gdb/security/approles/approles.htm ).

    For example, with a password-protected database role, the initial connection would be with only the CREATE SESSION privilege, and then ourTool.exe would issue the SET ROLE with password known only to you. Any other application doesn't have the information to set the role. Obviously, the privileges are granted only to the role and not directly to the user in this configuration.

提交回复
热议问题