How to expose the packet capture password using the PHP + API interface

Source: Internet
Author: User
I want to use a text message API to send a text message packet capture password. the API provides the following official submission methods:
Http://www.xxxx.com/abc? Action = send & userid = 12 & Account = account& Password = password& Amp; mobile = 15023239810 & content = content & sendTime = & extno =

Open software allows users to send text messages after registering an account for free, while sending text messages using the account and password in my API.

I used PHP's curl_setopt function for submission, but my account and password will be caught by the packet capture tool. how can this problem be solved? Thanks


Reply to discussion (solution)

You cannot change the format required by the API provider.

No, because the interface defined by the API is like this.

Unless you can modify the parameters obtained by the API, encrypt them first, and then decrypt them.

For API design problems, we recommend that you change the API to a safer authentication method, rather than a plaintext account or password.

On the Internet, basically all the APIs of text message senders are like this, isn't it ....

PHP calls the sms api on the server. Do I have to capture packets from the server ??

The key is that packets can be captured on intermediate devices. It is always insecure.

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.