Forums

PHP

This topic is locked

Proxy Authentication with PHP

Posted 20 Sep 2009 19:28:02
1
has voted
20 Sep 2009 19:28:02 sohel sohel posted:
Hello

I am trying to connect to the database after creating the users:
CREATE USER hrapp_user IDENTIFIED BY pass1;
CREATE USER george_simmons IDENTIFIED BY pass2;
ALTER USER george_simmons GRANT CONNECT THROUGH hrapp_user
WITH ROLE hr_head_role, hr_clerk_role AUTHENTICATION REQUIRED;

(CREATE SESSION was granted to both).
I would like to connect to the database from a web application (written in PHP) to the database as george_simmons with proxy user hrapp_user. Searches through the net and the documentations did not teach me anything useful.

Is this connection and authentication possible via PHP? If so, could you please tell me how it is done?

Thank you.












---------------------------------------------------------------------------



formation diplomante distance

Replies

Replied 21 Dec 2009 21:13:10
21 Dec 2009 21:13:10 Michael anderson replied:
How can i start database work?

Reply to this topic