GeoIP Country Filtering

Does anyone have any “best practices” on filtering using the GeoIP
variables?

I’d like to filter my entire site based upon “allowed countries” (it’s a
very specialized site), and am wondering the best place to check
country-code so that it’s efficient (performance wise), and applies to
the entire http or server block.

Any tips and tricks are very much appreciated!

-AJ