Hosting the codebase on an Internet-based server has the advantage of allowing the application configuration file and the codebase to be managed consistently. If the application configuration file resides on a Web server, downloads can use either HTTP or HTTPS. HTTPS encrypts the download, which increases security. HTTP does not encrypt the download, but is somewhat faster.
If the application configuration file resides on a file server, downloads use the File protocol.