简体   繁体   中英

Is it possible to fake the domain of the request came from?

There website that allow to restrict their API usage for certain domains - so they will receive and respect only requests coming from those domains.

How do they check the sender domain? Can it be faked?

They can check the sender domain by validating the sender domain PubKey certificate attached to the sender HTTPS request, which should be signed by a CA to certify the sender domain. This should work based on the SSL-based encrypted network data traffic.

Another way to do it is to support TLS Mutual authentication at the server in which case the client will have to authenticate itself by presenting the appropriate TLS Client certificate which is issued to it by a mutually trusted certification authority.

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