'Hiding plain text URL in JS (Webhook URL)
I am working on an electron JS based app, and I have a a discord webhook that logs the happenings. When the ASAR is unpacked (which anyone with knowledge can do), I can find the webhook url in the program which could be abused by users. Is there an easy way to hide it? Using encrypted strings?
I am very much a noob at this kind of stuff.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|