开发者

How do I secure an OData service?

OData is great because it's simple.

However, I don't see any security specification for OData.

What is common pr开发者_如何学JAVAactice? HTTPS + (username, pwd)


There is mentioned in the spec, it is similar to Atom publishing protocol. So security definitions for both are same.

OData Spec (section 5)

The Atom Publishing Protocol is based on HTTP. Authentication can be done HTTP Authentication like Basic and Digest Access Authentication The use of authentication mechanisms to prevent POSTing or editing by unknown or unauthorized clients is RECOMMENDED but not required.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜