I have two features in my game that need to connect to a server of some kind that requires authentication: a bug reporter and a leaderboard.
The bug reporter will take the users report and add it as a card to my trello board. In my code I have my personal accounts key and token, the board name, and the list name. This is hard coded so if someone ever decompiles my game, they could destroy my trello board. They could spam it, add new lists, delete my existing lists etc.
The leaderboard can't use something like steamworks leaderboards or gamecenter leaderboards as I intend to sell my game on many different stores, some of which don't have leaderboard systems. I also don't want to have to manage different leaderboard systems for every store - that will get messy.
How can I connect to my own server with a database of scores without hard coding the password into my script?
I've seen people say to put it into App.Config, but I believe that it is only for WinForms/WPF etc. Some say to store it in an encrypted config file, but then I will need to store the key to decrypt it somewhere... Others say it's completely pointless and futile.
Surely there must be a way!