开发者

WCF rest security question

I have a WCF REST service. Now the question is how can I secure my REST service so no one can use/call it? and what would be the best开发者_JAVA技巧 way to call it (e.g. using jquery, or from code behind)? the client application is on MVC 3.

please help and advise

Many Thanks


Not sure if you're still looking for a solution. But I used WCFRESTContrib as a basis for my project for the security features, among other things. It's very easy to setup Basic Authentication on the entire service, or on an individual basis for each service method. They have a full description on it here. If you don't decide to use the project, it should at least give you a good understanding on how it works with WCF REST api's.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜