When I overwrite a file (e.g. with a file copy command from Puppet, SaltStack, or Chef) that was set specific permissions, may the set permissions be lost or no?
I ask because I want to store a password in a file accessible only to SYSTEM user and Admin users, and am afraid that when I overwrite it, permissions may reset rendering the password readable to every user. (Yes, I know about hashing passwords.)
Also, does Windows have some secure (accessible only to SYSTEM user) vault to store there passwords?
I ask because I want to store a password in a file accessible only to SYSTEM user and Admin users, and am afraid that when I overwrite it, permissions may reset rendering the password readable to every user. (Yes, I know about hashing passwords.)
Also, does Windows have some secure (accessible only to SYSTEM user) vault to store there passwords?