The company where I'm at has databases on one server and PHP on another. The database server uses Windows Integrated Security, meaning they check the domain name and password of the computer you're logged into and allow a connection to the server only if the credentials match. Our PHP server account, however, does not have access to the database server whatsoever.
Today I finally got a service account for our database server so I can set up a database to store marketing orders. But, since the PHP server account doesn't have access to the databases, I can't insert the data. I'm wondering if there's a way to give my personal domain credentials in the request and authorize it myself.
Thank you!
EDIT: Thanks to Mike in the comments, I realized that what I need to do is use the impersonate function so that all requests to the server impersonate me. But how would I do that?