This question already has an answer here:
Azure Active Directory and WCF [closed]
(1 answer)
Closed 9 years ago.
How can I secure my WCF 4.5 service using Azure ACS 2.0?
Here is a basic tutorial: WCF (SOAP) Service With Federated Authentication
Then you can look at samples by Dominick Baier and Brock Allen here: Thinktecture.IdentityModel.45.
Also you can try to use Visual Studio tool for adding STS reference and point it to Azure ACS.
AFAIK endpoint Uri is something like this for client certificate authentication:
https://myacsnamespace.accesscontrol.windows.net/v2/wstrust/13/certificate
More samples are located here: Windows Azure AD Access Control (ACS) Code Samples
If you have questions, consider asking them as separate and more specific topics.
Related
This question already has answers here:
Authorization policies in blazor server side
(3 answers)
Closed 3 years ago.
Blazor, being relatively new, does not have a lot of documentation on security authentication. In VS 2019, when i create a new Blazor project (server-side or client-side) the authentication options are all disabled.
What is the authentication solution for organization level security
for Blazor apps?
Right now no solution is available. The Asp.Net team are working on an Auth system for both flavors of Blazor. Be patient. It is coming soon. Read here what is going on... https://github.com/aspnet/AspNetCore/issues/4048
I would invest my spare time polishing my knowledge of the Component model instead, while waiting for the guys in Microsoft to come up with a good solution.
Hope this helps...
[Edit]:
The following is a link to an example of using Identity Authentication with Blazor client-side: https://github.com/stavroskasidis/BlazorWithIdentity
This sample code is fine and all, but I would recommend using JwtToken authentication instead as JwtToken is often used in SPA applications.
I have a monotouch application that currently calls a hosted WCF service in IIS using ssl and basic authentication. I need to move this wcf service to Azure and am confused on the best security practice. I've read to use ACS, but I can't find any examples of using that setup with monotouch and am not sure it will work. Does anyone have any examples or suggestions with calling a WCF service from monotouch securely in azure?
Thanks, Ben
I am not familiar with MonoTouch. But as far as the service side is concerned, you can continue to use SSL and basic authentication. Note by default IIS basic authentication require Windows credential. Since it works locally, I think you’ve already implemented a custom basic authentication module. Another area to note is it needs additional steps to support SSL in Windows Azure. You can refer to http://msdn.microsoft.com/en-us/gg271302 for a tutorial. ACS is usually used if you want to support claim based authorization.
Best Regards,
Ming Xu.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Publish WCF Service app on IIS Express using Web Deployment
I have Windows 7 Home basic Operating System and I want to publish WCF Service on it. As Windows7 Home Basic is not supporting IIS I have downloaded IIS Express from here and installed it. Now can any one guide me how to publish WCF Service using IIS Express?
Thanks
StackOverflow contains a few same posts - Problem hosting WCF service in IIS Express and Publish WCF Service app on IIS Express using Web Deployment and you can check this article - Using IIS Express to Secure Silverlight and WCF Applications
I have an Excel add-on which connects to a WCF endpoint located in our network to collect data. We're considering moving the application out to Windows Azure.
Currently the users are authenticated using their windows log on. I know that WIF, ACS and ADFS can allow us to authenticate on a web app but wondered if this would be possible with the WCF client.
Thanks
See here: Securing WCF Services with ACS
Also ACS and the code samples within.
If you are looking for delegation i.e. sign on using WIF and use that token for WCF, there's a delegation scenario and sample in the WIF SDK.
Can I send SAML 2.0 token to SharePoint 2010 for authentication? I found a sample code in MSDN that connect office 365 in the cloud for the authentication, but the sample code uses SAML 1.1 token.
Does SharePoint work with SAML 2.0 token as well?
No, you can't. Sharepoint supports natively SAML 1.1 for claim-based authentication. To handle SAML 2.0 tokens in Sharepoint 2010, you currently have 3 choices:
develop a custom authentication provider using WIF. That shouldn't
be that complex to do as SAML 2.0 was recently integrated in WIF.
You'll find the library and code samples here:
http://connect.microsoft.com/site1168/Downloads/DownloadDetails.aspx?DownloadID=36088
use Active Directory Federation Services (ADFS). The general idea of
this solution is that Sharepoint delegates authentication to ADFS,
which is configured as a SAML 2.0 Service Provider. Main advantage
of this solution: configuration/installation only, no development.
Obvious downside: much more complex architecture.
wait for Microsoft to implement SAML 2.0 in a future Sharepoint
Service Pack :)
You can create custom Saml2SecurityTokenHandler Class