What problems do I have to expect if I publish a userscript that embeds the score from TMDB on IMDb. This question I just also in view of the API key, which is then also public.
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de ofitichor
le 1 octobre 2023 à 15h11
An answer would help me 😅
Réponse de robbie3999
le 2 octobre 2023 à 17h35
If you want an answer you need to ask a more specific question. No one knows what your app is and what kind of problems you might have with it.
Réponse de ofitichor
le 3 octobre 2023 à 03h02
Actually, I thought I was already very special.
I want to publish a javascript for Tampermonkey/Greasemonkey, which embeds the score from TMDB in IMDb. So that the score can be displayed, my API Key is needed.
My question is, could publishing my API Key through this javascript be a problem? Like violating some rule.
Réponse de Travis Bell
le 3 octobre 2023 à 10h29
Not sure it's against a rule per se, but it makes your key easy to steal. If a bad actor were to get a hold of your API key and start using maliciously and we have to block it, it will take your project offline. I suppose that is the main concern you should be thinking about.
Réponse de ofitichor
le 3 octobre 2023 à 10h35
Yes, that is what worries me. So my question is how the API key could be used maliciously? And if I were to be blocked, could I request a new one, which I would then accordingly no longer publish?
A solution might also be an API key that could be assigned with restrictions, e.g. read-only rights and quantity of requests.
Réponse de Travis Bell
le 3 octobre 2023 à 10h46
We have to block keys semi regularly because they are used on illegal streaming sites, piracy and the like.
Yes, you can re-generate a new key from within your account's API settings page at any time.