Banning Out of Country IPs

I understand that there are many lists out there countaining the IP ranges of specific countries, but how would I go about creating an htaccess file that would only allow US and Canada visits?

Does anyone know the IP ranges used in the US and Canada?

 

 

 

 

Top