Forums

PHP

This topic is locked

Proxy Authentication with PHP

Posted 15 years ago
1
has voted
15 years ago 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 15 years ago
15 years ago Michael anderson replied:
How can i start database work?

Reply to this topic