开发者

Retrieve calling application name in wcf

Is there a way to retrieve the calling application name in a wcf 开发者_StackOverflow社区service?


The ServiceSecurityContext would be the place to start, but I'd be very surprised if such a thing exists.

If you require this by your client think about adding message headers and force them to insert a client application name, or - if you don't trust anybody - give them separate certificates and use them to find out "who" is calling you.


since wcf may be consumed by may different endpoints i dont belive that is the case. Heres a link to msdn for best practices on security for wcf, hope it helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜