title: Secure communication between JavaScript and a Web service in PHP
body: <p>I want to make a web service ( with post,get,delete - REST ) and 2 clients for it. The first client will be on JavaScript and he will need to comunicate with the web service and the second client is a desktop application. I was searching the internet for a solution to make the communication secure but I haven't find one. Is it possible ?
  I can't use SSL because this is a home project.</p>
  
  <p>Also, I can't use websockets.</p>