You may create rules to limit access to content. For example, the following rule only allows access to .css
or .js
files (case sensitive) from the ip address 64.3.62.1
and blocks every other ip address.
location ~* \.(?:css|js)$ {
allow 64.3.62.1;
deny all;
...
}