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?
Asked
Active
Viewed 172 times
2
-
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 Answers
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
- 10,452
- 7
- 33
- 60