Allowing oracle db login only to specific application?

后端 未结 3 2217
谎友^
谎友^ 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条回答
  •  梦毁少年i
    2021-01-19 14:31

    By default, OCI transmits the calling application EXE name and you can access it by querying v$session:

    SELECT  program
    FROM    V$SESSION
    

    , which you can do in an AFTER LOGON trigger.

    But this can be easily overriden and should not be relied upon.

提交回复
热议问题