title: Security - Ejabberd - Validate Client
body: <p>I have installed Ejabberd in our AWS Server</p>
  
  <p>We are developing an iOS messenger app and we don't want other clients to access our messaging server other than our iOS app.</p>
  
  <p>All the ejabberd services should be accessible only by our iOS app,</p>
  
  <ol>
  <li>To register</li>
  <li>To login</li>
  <li>To send message and use any other service.</li>
  </ol>
  
  <p>What are all the configurations and settings should I have to do to secure our server?</p>