none
Mastering WCF 4.5 security RRS feed

  • Question

  • Hi,

    I am trying to master WCF on VS 2013. I am struggling with WCF security. I like to setup a WCF service where users need to log in remotely (with WPF or Silverlight). The security data should be on a SQL database.

    I am familiar with the “old” membership API , the regsql tool  and the ASP configuration tool. But that seems all gone.

    Now days  we have a Claims based security, and I am already busy for several weeks trying  to master it! But it seems that the more I read and learn about it the more confusing it gets.

    I know there is a lot of information about claims based security on the internet, but I did not find a simple example how to put everything together (Database, WCF Configuration and  basic authorization code)

    Is there somebody that can point me a good and above all simple example?


    Rob

    Friday, October 25, 2013 1:53 PM

All replies

  • Hi,

    According to your reqiurement, I knoew that you want to secure wcf with database and basic authentication.
    The main content of this article is as following:

    • How to setup the database and the Web Site Administration Tool from the .net framework for managing the Users and Roles

    • How to setup the WCF Basic Authentication under https and use SQL Memebership Provider to validate users and roles

    • How to make your WCF service consumable by other other platforms such as Java by making the WSDL a single file

    For more information, please try to refer to:
    #WCF Basic Authentication with SQL Membership Provider:
    http://www.codeproject.com/Articles/379636/WCF-Basic-Authentication-with-SQL-Membership-Provi .

    #Wcf Security:
    http://msdn.microsoft.com/en-us/library/ms732362.aspx .
    And hope it can help you to get start.

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.




    Monday, October 28, 2013 5:53 AM
    Moderator
  • Hi Amy,

    Thanks for your answer. problem that all examples are written for VS 2012 and lower. in VS 2013 looks rather different. I hope that sombody can once make a walktrough on this version. in the meantime I will continue studying this subject.


    Rob

    Tuesday, October 29, 2013 10:13 AM