how to provide the security to data in case of client server communication?

Thank You,
lakshmi