Method level Authentication to WCF RRS feed

  • Question

  • User1365606405 posted

    Hi ,

    I have the Interface with 4 methods, as getdata(),insertdata(),updatedata(),deletedata().

    i want to give the security to insert,update,delete methods to only specific users ravi,raju,varma.

    pls explain and share me the code.







    Friday, March 15, 2013 8:40 AM

All replies

  • User1859182686 posted

    You need to decide firstly how you are going to authenticate the user.

    Next you need to decide if these permissions are controlled by some kind of directory or looked up from a database or ASP Role, or are you hard coding them.

    Friday, March 15, 2013 9:29 AM