This would bump up the security a bit, but not totally prevent unauthorized access. If you edited your .htaccess file on the file server an only allowed access if the refferer was your other site.
One thing to remember is that the referrer header is sent by the client i.e. the web browser. It therefore cannot be trusted as a security token. That said it is an additional barrier and I'm all for defense in depth

Jimbob