Click here to Skip to main content
Rate this: bad
good
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
Edited 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 at 15-Jun-12 11:13am
   
Good answer +5
Espen Harlinn at 15-Jun-12 12:38pm
   
Thank you, Manas!
Sandeep Mewara at 15-Jun-12 11:55am
   
Good bunch of links. 5!
Espen Harlinn at 15-Jun-12 12:38pm
   
Thank you, Sandeep!
anatolium at 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 at 17-Jun-12 16:57pm
   
+5 and bookmarked.
 
Soren Madsen
Espen Harlinn at 17-Jun-12 18:02pm
   
Thank you, Soren :-D
VJ Reddy at 20-Jun-12 22:52pm
   
Good references. 5!
Espen Harlinn at 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
0 OriginalGriff 364
1 Nirav Prabtani 268
2 _Amy 230
3 Sergey Alexandrovich Kryukov 171
4 CHill60 170
0 OriginalGriff 8,004
1 Sergey Alexandrovich Kryukov 7,017
2 Maciej Los 4,039
3 Peter Leow 3,738
4 CHill60 2,912


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 17 Jun 2012
Copyright © CodeProject, 1999-2014
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