samedi 18 avril 2015

How to pass through windows authentication

I have a server within windows domain. Within that server there is IIS 7.5 installed. IIS serves requests to one web application for which NTLM windows authentication and impersonation are enabled. App pool is separate and has 2.0 version. Application has single-page front-end part. So user enters front-end part, enters credentials and works with it. Nothing especial here, for sure.


Recently I've added one more web service which is hosted also by IIS on another port in a separate app pool with 4.0 version. What I need is - sending requests from first app via Ajax to this new app, passing through windows auth. Of course - without additional prompt. The idea is - front-end from first app should send requests to this new one app via jquery ajax, passing through credentials.


What are the recommendations to achieve it without SSO etc.? Should I look for something like reverse proxy or there is something more obvious?


Thanks in advance, Eugene.


Aucun commentaire:

Enregistrer un commentaire