title: Simple example for why Same Origin Policy is needed
body: <p>I've read about <code>Same Origin Policy</code>, but for a better understanding of the matter: could anyone please write a simple code (in any language) that will demonstrate an attack that SOP stops?</p>
  
  <p>How was it possible to attack someone before SOP came about?</p>