WCF Authorization RRS feed

  • Question

  • Hi,

    Im looking for video tutorial, article or source code demo for the simplest WCF Authorization.
    I found several in google, but still a little complicated for me..
    Because im very new in this..

    Maybe anyone can help?

    Thanks in advance..
    • Edited by wapt49 Friday, August 28, 2009 1:03 PM
    Friday, August 28, 2009 1:02 PM


All replies

  • Hi,

    How are you managing authentication in your service? (which credentials are you using?).


    Friday, August 28, 2009 2:01 PM

  • Hi,

    Now i have 2 programs working..

    1. client and service credentials both using certificate..

    2. client credentials using username and service credentials using certificate..

    But its fine if you have another authentication model.. the most important is i need simple example..(the simplest as possible)


    Friday, August 28, 2009 2:08 PM
  • Hi Putra,

    I would recommend you first to take a look at this article:
    It shows you several alternatives for authorization along with simple and brief explanation on how to implement it.
    If you're already familiar with ASP.NET Role Providers or declarative authorization by using the PrincipalPermission attribute you will find it really easy to achieve the same with WCF.

    Hope it helps.
    Friday, August 28, 2009 2:20 PM

  • Hi Rodrigo,

    Thanks for the link..
    It is possible to download any source code from that article you given to me?


    Friday, August 28, 2009 2:31 PM
  • Here you have another nice and simple authorization article with a sample you can download:

    In case you need to create a custom authorization manager, you can use the following sample:


    Friday, August 28, 2009 2:36 PM

  • Many thanks Rodrigo..

    I'll try to learn from those :)


    Friday, August 28, 2009 2:40 PM