Security through obscurity
Using secrecy to implement or design something securely is referred to as security through obscurity. More plainly, it refers to any form of information security that relies on keeping something hidden. An example would be keeping private files in a location on a filesystem where a malicious third party would be unlikely look. Security through obscurity is a very weak form of security and is strongly discouraged.