Increased security is directly related to open code as this exposes it to public scrutiny.
An often discussed and important consideration is managing and storing public data with open code and in open file formats.