Access to the service can only be obtained by users who have access (to enter the system) to "SERV1"?
Yes - The point of using Windows credentials in the WCF service. Only users with a domain account in this Active Directory domain (or a separate domain that has full trust bi-directional communication with your domain) will be able to access the service.
Or all users who can enter the office network (judging the credentials of the active directory) will be able to use this service?
WCF Security Border The Active Directory domain is an undefined server.
Is there a way to make sure that only approved CIO applications will be available to the service while keeping the service as authenticated Windows?
How do these CIO approved apps differ from others? Access to WCF is through accounts - usually user accounts. You can limit which accounts have access to your service (for example, by requiring these accounts to be members of this AD group or something else). You cannot βrestrictβ based on applications (only if these applications use certain application level accounts to access your WCF service)
Is this authentication performed for each call to the service operation, or only for the first call?
Depends on your service - if you use the WCF service for each call , then verification is performed for each call. If you use the WCF service for a session with security negotiation enabled, then the check occurs once at the beginning of the session, and not until the end of the session.
Is there any way the service can find out the credentials of a Windows user?
Yes - OperationContext.Current.ServiceSecurityContext.WindowsIdentity IS the Windows credentials (Windows identifier) ββused to invoke your service. This is much more than just a username .....
marc_s Mar 06 2018-12-12T00: 00Z
source share