Support the ongoing development of Laravel.io →
posted 3 years ago

I have setup IIS using windows authentication. i am interested in having users login via windows login. I have coded everything and it works fine. However, i need to access my sql server with windows authentication. with a .net app, i would use identity impersonation in the web.config to use a service account. i have tried this with laravel, however, php doesn't seem to run under the identity impersonation entry, so is unable to login in to sql server. is there any way to configure iis to run PHP with a specific account? that way laravel could connect to the SQL Server. I do not have the option of using a SQL Standard account.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Jeremy jerschmidt14 Joined 23 Sep 2021

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.