National security is important for the German government in deciding which companies will get access to build its next-generation mobile networks, a spokesman for the Interior Ministry said on Friday.