A special security regime will be in place in and around the southern city from January 7 until March 21.
The Russian authorities announced last year that a ban on rallies would be imposed in the Games area.
But a decree now says protests during the Games in February can be held if agreed with the authorities.
Presidential spokesman Dmitry Peskov said all public gatherings and demonstrations must be agreed in advance with the municipal authorities as well as regional divisions of the interior ministry and the Federal Security Service, the FSB.
“The president has issued an instruction to the organizers of the Olympic Games, together with the leadership of Krasnodar Territory and the Sochi mayor’s office, to select a venue in the city where rallies, demonstrations and other events, including, if necessary, protests, could be freely held,” Dmitry Peskov said.
But limits can be placed on the number of people taking part in demonstrations, according to the presidential decree.
Protests groups, such as those campaigning for gay rights and political reform, had complained at the restrictions on the right to stage demonstrations at the Games.
Security has been a major concern in the run-up to the event, with fears of attack by militant groups.
Two suicide bomb attacks killed 34 people in the southern city of Volgograd on December 29 and 30. Russian investigators say the perpetrators are believed to be two men who arrived in the city from the restive North Caucasus region.
The bombings prompted President Vladimir Putin to order further security measures and personally inspect Olympic sites.
Security measures in Sochi are reported to include surveillance by drones and strict limits on road access to the city.
Image source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…