I think they are often the same thing. Being secure often means keeping something secret. Or consider that the first step before attacking something is usually gathering information about the target.