title: I need a way to block a certain website from being seen by anything but my lua script
body: <p>I need a way of blocking anything but my specific Lua script from accessing a website (the website is plaintext and has Lua code in it) I have run the script without any protection and it works 100%, now I need the website to be inaccessible from anything but the script, how would i do that?</p>
  
  <p>I have already tried using headers but that exposes the header to the script meaning someone can use that header to gain access to the site.</p>
  
  <pre><code>RewriteEngine on
  SetEnvIf User-Agent .** wget
  Order deny, allow
  Deny from all
  Allow from env=wget
  </code></pre>
  
  <p>above code is in my .htaccess file</p>
  
  <p>I expect that the above code would deny access to the website for everything but mine, but even though my script doesn't send a user-agent it still denies access to the website.</p>