Skip to main content
edited tags
Link
Ladislav Mrnka
  • 364.9k
  • 60
  • 666
  • 673
Source Link
croisharp
  • 2k
  • 5
  • 25
  • 41

WCF authentification, and authorization by username/password to restrict services

I want to make wcf authentication, by username and password. After that, to make custom attributes to services, to restrict access by username. For example if authenticated username is User to restrict access to delete, if moderator to allow. How to do that, and what are the best practices?