Ukrainian President Viktor Yanukovych on Friday signed into law hugely controversial legislation which aims to curb protests, despite an outcry from the opposition and the West.