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.