National Security And Civil Liberty

How did the late 1940s and 1950s threat of communism abroad affect American civil liberties here at home in the USA? What was the danger to civil liberty posed by the McCarran Act?