Internet access has been restricted in Bahrain leading up to and in response to the recent protests there.