The General Assembly of the United Nations has unanimously passed a resolution that affirms the same rights in the online and offline realms.