title: For Data Transfer, REST API vs SFTP, which is more secure?
body: <p>Two different applications needs a data transfer from one another for certain activities. Option to do this data transfer is either prepare a file of data and push it through SFTP at certain point of time, or push/pull the changes through REST API in real time.</p>
  
  <p>Which approach will be more secure if the data in one system is completely encrypted and in one it is raw?    </p>