Providing own API-Keys

harsvnc profile image Hrn Svncハルン Харун Севиндж ・1 min read

Hey everyone! Hope you make it through these ruff times. I have a simple question here:

I want to make sure that only my Angular-App can use my NodeJS api. I know that many big api's provide api keys like google or AWS does. Is there a way to provide your own api key's for your app's?

Thx for you help
Have a great day!


markdown guide

Effectively, you can add some custom header on every request with some key, which must be validated through a middleware on your backend before processing the actual request.

Still, every network request could be monitored and eventually that "custom header" to be reverse engineered 🤔