http - Server Only Respond to certain Posts (Security) -


ok have 0 experience in dealing security, need little guidance. have 2 servers communicate through http request. want make sure servers execute requests come 1 another. have no idea how block out other requests or verify request real. need tell me direction head in solve problem. thanks!

you can lot of things ensure these 2 servers , no-one else talks them

  1. port blocking- have 1 port open on each server listen on. port unknown other users cant communicate of servers.
  2. ip blocking- safest method. block incoming requests dont match ip of other server
  3. mutual authentication - theres bunch of mutual authentication algorithms available. use 1 of them ensure server youre talking other server , nothing else
  4. miscellaneous- key sharing, public key cryptography, digital signatures etc..

tbh question bit broad answer in detail. have research on these methods , figure out 1 best suites usecase.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -