Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sharif Hassan 11 posts 101 karma points
    Feb 16, 2023 @ 05:55
    Sharif Hassan
    0

    publish umbraco with secure connection string appsettings.json

    Hi,

    Am trying to publish a umbraco website on-premises, for security reasons our client did not agree to have a connection string in appsettings.json.

    I found two solutions (Environment Variables, Command Line Arguments,) but unfortunately they did not accept any one of them.

    is it possible to save the encrypted connection string in a different file and pass it to umbraco on startup? or any way to save the encrypted connection string appsettings.json?

    Thanks.

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Feb 16, 2023 @ 08:28
    Huw Reddick
    0

    Is your dtatabase on the same server? if so you could use integrated security so no user/pwd settings. However appsettings is pretty secure, if someone has gained access then you have a bigger security issue than your website.

  • Sharif Hassan 11 posts 101 karma points
    Feb 20, 2023 @ 07:46
    Sharif Hassan
    0

    Hi Huw,

    The SQL server in anther server, if we can use integrated security, what will be the solution?

    Thanks

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Feb 20, 2023 @ 08:38
Please Sign in or register to post replies

Write your reply to:

Draft