简体   繁体   中英

Is php soap header encrypted?

I've made a soap call using our own php api. The soap call requires us to send username/password in the soap header, and they only use http, no https.

Does this mean that without changes i would send our header info in cleartext, free for anyone to dump? Or is it encrypted by php itself?

Yes, using http, the entire contents of the request will be in plaintext, including the SOAP headers. You need to use https to make it secure.

SOAP requests are just normal http requests, with a XML structure in the body. It's easily viewable by anyone inspecting the traffic.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM