Hi, @aj-47
Thank you for posting in Microsoft Q&A forum.
We may check if below article helps:
https://techcommunity.microsoft.com/t5/windows-blog-archive/encoding-sensitive-information-in-customsettings-ini-and/ba-p/706695
https://keithga.wordpress.com/2015/01/06/security-week-locking-down-your-deployment/
(Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.