Denying Access To Oracle Database via tools like Toad, SQL Developer using Request Based Authentication

StackOverflow https://stackoverflow.com/questions/21431189

문제

I need to restrict access to Oracle Database via tools like Toad, SQL Developer etc. Only the request coming from Application Server should be allowed to connect successfully.

도움이 되었습니까?

해결책

You can:

  • Restrict access to DB on Firewall level
  • Restrict access to DB via Listener configuration (listener.ora)
  • Restrict access to DB via logon trigger on schema. You can find templates of such a trigger on the Internet. Basically you have to select from sys_context function(or from v$session view). This will tell you all the information you need. Then any exception raised from logon trigger aborts the connection.
  • Grant access to users, but do not give them any privs. Then grant necessary privs to password protected role and enable this role via "SET ROLE" ONLY from the application.

Or you can mix these approaches as you want.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top