If you have required privileges, it’s possible to connect as a user account without knowing or changing his password. This is called proxy connection. To authorize a user account to connect using a proxy account, use the GRANT CONNECT THROUGH clause of the ALTER USER statement.

Let’s set say we don’t know password of SCOTT user. I connect with my dba account and set “GOKHAN” user as a proxy for SCOTT:

Now we can connect using the GOKHAN proxy user:

Use the REVOKE CONNECT THROUGH clause of ALTER USER to disallow a proxy connection:

4 Responses to “Connect Through a Proxy User Account”

  1. Balwan Singh says:

    Great and helpful article Gokhan. Thanks a lot for your efforts.

  2. Matheus Sato says:

    Hello,

    What are the dictionary tables related to proxy privileges ?
    How I find witch user have access to connect (as another user) using proxy?

    Best Regards,
    Matheus

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>