title: How can I tell a curl request vs browser request
body: <p>I have a webserver, and certain users have been retrieving my images using an automated script.I wish to redirect them to a error page or give them an invalid image only if it's a CURL request.</p>
  
  <p>my image resides in <code>http://example.com/images/AIDd232320233.png</code>, is there someway I can route it with .htaccess to my controller index function to where I can check if it's an authentic request?</p>
  
  <p>and my other question, how can I check browser headers to distinguish between most likely authentic ones and ones done with a cURL request?</p>