With secure media and the UploadSecurity class, we need a nice way for plugins to register custom upload types that should be considered public and never secure.
SiteSetting.keep_old_ip_address_count