The IOC has confirmed athletes will be prohibited from taking part in any protests or demonstrations in Olympic venues.