JQuery calling WCF service

I am running a jQuery process calling a WCF service hosted in the same domain.

My application uses Win Auth, which works great with an ASP.NET application. I would like to know from the command if the user calls the WCF service from ASP.NET, what is the security context in which the service is running? Or does he use the web.config security that is specified? Are there any links related to this where I can get some information.

ASP.NET 4.0, jQuery, and WCF 4.0 in the same web application

+4
source share
1 answer

Here are two links from Pablo Cibraro that should help:

Distribute Ajax endpoint security identifier for WCF in ASP.NET http://weblogs.asp.net/cibrax/archive/2010/10/21/security-identity-propagation-for-wcf-ajax-endpoints-in-asp -net.aspx

Exchange of security context between ASP.NET and WCF REST services http://weblogs.asp.net/cibrax/archive/2009/04/08/sharing-the-security-context-between-asp-net-and-wcf-rest -services.aspx

Aside, it is probably a good idea to go through some of your 42 questions without accepted answers and accept some - you may find that you get a quicker answer to future questions;)

+2
source

Source: https://habr.com/ru/post/1343325/


All Articles