Check out Joff's Tech Segment on using Regional Internet Registry data to build Country attribution access control.