title: .htaccess allow script access within my domain
body: <p>I am looking for the specific .htaccess command that will allow me to deny http access from everyone BUT my scripts.</p>
  
  <p>I have a script that runs out of the root directory that goes and fetches all of the .jpg's out of a given protected directory with the following .htaccess file</p>
  
  <pre><code>&lt;files *.jpg&gt;
      order allow, deny
      deny from all
  &lt;/files&gt;
  </code></pre>
  
  <p>I was thinking something similar to this might work</p>
  
  <pre><code>&lt;files *.jpg&gt;
    order allow, deny
    deny from all
    allow from rootUrl.com
  &lt;/files&gt;
  </code></pre>