2

I have a customer controller with a method to get all customers and I want to protect it. Only allow verified consumers to get the data, how would I go about this? For example: If a windows app needs to get all customers, how would my mvc application know to allow the windows app to make the request?

tereško
  • 57,247
  • 24
  • 95
  • 149
Frankie
  • 2,167
  • 4
  • 19
  • 22
  • MVC is web, windows app is not. Do you really need to have a windows app access your website other than through normal web channels? – Brian White Jul 17 '12 at 21:34

1 Answers1

0

Implement MVC role based security and require the windows app users to provide log-in information. Here's another SO thread that might help Role based security asp.net mvc

Community
  • 1
  • 1
ron tornambe
  • 9,926
  • 7
  • 32
  • 59