New legislation a potential threat to press freedom