I am making a game similar to Pastebin that uses a single datastore. individuals will be able to save various types of data to keys, from standard strings to audio to game ID’s. All string data will be filtered, but I don’t know if I need to filter keys.
Keys are used to retrieve and access data, and a person has to enter a key to get any data.
I’d say the safest method would be to filter the key, and if it contains the filter character (#) then it informs the player their text is filtered and can’t be used, letting them try to make another key. Seems like the easiest solution.