Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password encryption in settings.txt file #8731

Open
areghunandanan opened this issue Nov 2, 2023 · 1 comment
Open

Password encryption in settings.txt file #8731

areghunandanan opened this issue Nov 2, 2023 · 1 comment

Comments

@areghunandanan
Copy link

Hi,

We are using version 1.8.1 of Orchard, and our connection string is in the Settings.txt file as plaintext. We now have a requirement to encrypt this connection string. Are there any subsequent versions of Orchard that supports this?

Also, we could not find version 1.8.1 source code in github. Could you please provide the link?

Thanks,
Anish

@sebastienros
Copy link
Member

You can create a custom implementation of IShellSettingsManager like this one: https://github.com/OrchardCMS/Orchard/blob/4043df7a0d158dfc70cea65480b61fbd8191bbb3/src/Orchard/Environment/Configuration/ShellSettingsManager.cs

The during load/save events you can use a private key to do the encryption.

There are tags for each release: https://github.com/OrchardCMS/Orchard/tree/1.8.1

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants