security - How can I send data to an API via the internet securely? -


i'm going use java create system, , in our system use api. api going accessed via internet is. question here how can secure connection prevent snooping around, know data safe in api prone danger during transmission. network security?

you need define "security" better. there several concerns related api security , handling 1 different. example common apis need deal network traffic security (i.e. encryption, verification etc.), authentication , authorization - each 1 aspect of security may or may not care , have different requirements each.

for network traffic encryption if we're talking http based api - almost-always-correct answer stick https - encryption problem solved 1 long keep server / client configured (enable peer verification, stick secure , up-to-date tls implementations , cyphers etc.). supported api client , server - make sure server doesn't accept cleartext http.

for authentication , authorization there common standards (like oauth) depends on business logic needs.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -