IPAccess is a plugin that lets you control access to your WordPress content via IP address.