Security of streaming replication?
Streaming replication in PostgreSQL uses the same security mechanisms as a normal frontend-backend connection.  So in order to encrypt the traffic, SSL should be used, and access control should be set up.

Alternatively, or additionally, consider a VPN of some kind.  PostgreSQL instances aren't really meant to be run facing the open internet.