Relative Content

Tag Archive for encryptiondiscordwebhooks

Discord Webhook – Encryption in Database

I’ve read that it is usually good practice to store this kind of sensitive data in env variables (discord webhhooks, etc). Due to my application, there are multiple webhooks and it’s not static data as a new webhook may be added every so often. I’m thinking about adding the webhooks to a database, but I’ve read that the issue with this is database security. Would it be enough to encrypt the data before sending to the database or even split the webhook up into multiple parts and encrypt each part before sending. Then when I need to obtain the webhook, decrypt it? Would be encrypting/decrypting be the best approach or is there a better approach?