Click here to Skip to main content
12,508,112 members (42,850 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# WCF security
service in functions, Do not display for everyone

my English is not good
please give me example project or video

I useing C#
thank you

http://g1206.hizliresim.com/y/h/7z10f.png[^]
Posted 15-Jun-12 3:16am
Updated 15-Jun-12 3:31am
v3

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Here is a bit of reading material:
Authorization In WCF-Based Services[^]
Authentication, Authorization, and Identities in WCF[^]
Authorization[^]
The last links shows how easy it can be done.


And here is an example:
Custom Authorization in WCF[^]

This one may also be interesting:
WCF REST 4.0 Authorization with Form Based authentication (SetAuthCookie)[^]

[Update]
How to: Use the ASP.NET Role Provider with a Service[^]

Example[^]

Best regards
Espen Harlinn
  Permalink  
v3
Comments
Manas Bhardwaj 15-Jun-12 11:13am
   
Good answer +5
Espen Harlinn 15-Jun-12 12:38pm
   
Thank you, Manas!
Sandeep Mewara 15-Jun-12 11:55am
   
Good bunch of links. 5!
Espen Harlinn 15-Jun-12 12:38pm
   
Thank you, Sandeep!
anatolium 16-Jun-12 11:38am
   
hello

An example of this correct? because They are not local user,they are users that are members

are you can give me sample code ?

Thank you for helping
SoMad 17-Jun-12 16:57pm
   
+5 and bookmarked.

Soren Madsen
Espen Harlinn 17-Jun-12 18:02pm
   
Thank you, Soren :-D
VJ Reddy 20-Jun-12 22:52pm
   
Good references. 5!
Espen Harlinn 23-Jun-12 4:03am
   
Thank you, VJ

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160927.1 | Last Updated 17 Jun 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100