An approach to providing a secure interaction in distributed systems over Internet based on the organization of safe communication channels (tunnels) founded on SSL/TLS protocol is considered. Unlike VPN technology, the described approach provides support only for HTTP/SOAP interactions, which allows you to include features such as queries routing, authentication and access control to information resources based on client public key certificates as ready-made technical solutions within the tunnel. The implementation of the approach in the Linux environment and the results of an experimental study are described.