Make sure your code and data stay safe by following security best practices.

Network ports to open

Open network ports selectively based on the network services you need to expose for administrative and user purposes.

Configuring firewall settings

GitHub Enterprise uses Ubuntu's UFW firewall on the virtual appliance.

Enabling private mode

In private mode, GitHub Enterprise requires every user to sign in to access the installation. Anonymous clones over git:// are disabled and—if built-in authentication is enabled—new users can't sign up and must be invited by an administrator.