Web Service Security

Source: Internet
Author: User
I have discussed this question before: why are many third-party interfaces replaced by http-based direct json data transmission instead of webservice? You basically agree that the http-based json data format is used for web Services. Now I want to ask how to implement security requirements .... I have discussed this issue before:
Why do many third-party interfaces use http-based direct json data transmission instead of webservice?
You basically agree that the http-based json data format is used for web Services. Now I want to know how to implement the security requirements.
There are two security requirements for a set of things I want to design now.
1. transport requires the use of TLS for Session Encryption
2. The transmitted data must be encrypted using the ws-security Specification.

In terms of transmission, I understand. However, is there any experienced engineer to explain how to use the ws-security Specification for data.If we use the json format of http, how can we design it to meet the ws-security requirements in terms of security?I think this specification is mainly designed for the webservice of basic soap.

Reply content:

I have discussed this issue before:
Why do many third-party interfaces use http-based direct json data transmission instead of webservice?
You basically agree that the http-based json data format is used for web Services. Now I want to know how to implement the security requirements.
There are two security requirements for a set of things I want to design now.
1. transport requires the use of TLS for Session Encryption
2. The transmitted data must be encrypted using the ws-security Specification.

In terms of transmission, I understand. However, is there any experienced engineer to explain how to use the ws-security Specification for data.If we use the json format of http, how can we design it to meet the ws-security requirements in terms of security?I think this specification is mainly designed for the webservice of basic soap.

The subsequent encryption should be the previous encryption measures in the old HTTP scenario. Now, HTTPs is already a strong encryption, and you do not need to add another password at the data layer.

Ws-security: I searched for it for help. This is the data above the SOAP data packet structure. To ensure data legitimacy, we simply use a signature, but is it necessary to use this bloated standard to sign a name? The common practice is to assign a private key to each caller. During a request, all the parameters of the request are summarized using the private key and sent to the server together with the request parameters, the server then uses this private key to repeat the Digest to verify the identity of the requester.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.