With world watching, Rio focuses on security ahead of Cup