How the Heck Do API Keys Work?

How the Heck Do API Keys Work?

Steve Griffith - Prof3ssorSt3v3

4 года назад

44,495 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

tabliqat chi
tabliqat chi - 29.06.2023 21:43

I have a note to watchers and a question.
Note to watchers: Although this is an introductory video and the way the base36 generator is implemented in it is understandable, in real projects never use Math.random() for api keys as it is easily predictable.
Question: If we give a website an API key, then their frontend developers have to use a proxy server to hide that API key from their users?
Thanks Steve for this video.

Ответить
HAPP IE
HAPP IE - 14.04.2023 16:54

where do you store your Users info and APIKey? in a database table?

Ответить
Karen Benge
Karen Benge - 22.02.2023 21:07

Api key for circle?

Ответить
Rafael Da S.
Rafael Da S. - 15.02.2023 17:10

Love your explanation and I have subscribed to your channel, wondering also why you dont have at least 500k subs not fear, you're too good, after 2 years this still helping lots of people. Thank you

Ответить
Neha Kumari
Neha Kumari - 30.09.2022 09:18

How can we create apiKey using nestjs?

Ответить
Alex Vass
Alex Vass - 25.08.2022 06:37

Thanks

Ответить
Kennedy Dre
Kennedy Dre - 23.08.2022 19:02

Should the api keys be encrypted to be saved to the database?

Ответить
Meet Kumar
Meet Kumar - 30.06.2022 22:02

its a great knowledge video, but what about the response header on browser, api key showing on browser side in response header.

Ответить
Gabriel Burgos
Gabriel Burgos - 12.05.2022 23:57

I don't know if you made this for free, but it's fantastic, and the voice is very good.

Ответить
Nicetomeetu Gaming
Nicetomeetu Gaming - 04.04.2022 16:48

Thanks for this amazing video sir!

Ответить
Simas Gradeckas
Simas Gradeckas - 18.03.2022 11:09

Thanks for all this great content Steve! I really have no clue how only 24k people have stumbled upon this video. Such a great & thoughtful tutorial for beginners.

Ответить
Tøm Hugin
Tøm Hugin - 23.12.2021 05:45

man allow me to say, you have a really charming voice, it really gets me listening. Amazing tutorial voice

Ответить
Trond Seim
Trond Seim - 13.12.2021 22:52

Excellent video, great job man. I'll def check out more of your content.

Ответить
MrTubber44
MrTubber44 - 12.12.2021 19:04

Lucid explanations, appreciate cha!

Ответить
Ezra Kipyegon
Ezra Kipyegon - 02.12.2021 23:48

Good and helpful content
Thank you for sharing this knowledge

Ответить
Jaime Arias Almeida
Jaime Arias Almeida - 09.09.2021 10:47

Thank a lot !!!

Ответить
Reto Fricker
Reto Fricker - 02.08.2021 16:05

What kind of database do you recommend do use to store and check the keys? I think the db has to be quite fast?

Ответить
Rohit Kumar Singh
Rohit Kumar Singh - 29.06.2021 12:56

Instant Subscribe.. Great Video

Ответить
TAKSH Patel
TAKSH Patel - 15.03.2021 09:14

Useful Knowledge and good teaching => 100% likes

Ответить
mirko perrone
mirko perrone - 07.01.2021 21:06

Thanks for this tutorial, finally some with the right knowledge to explain this concept clearly :D WELL DONE.

Ответить
Tom Fredericks
Tom Fredericks - 09.12.2020 00:38

Excellently done and useful. Thanks.

Ответить
duval
duval - 03.11.2020 23:32

Lovely stuff, I like how you compare origins to ensure keys are not abused. I wonder if it will suffice to protect a user's key, how secure would you say this implementation is?

Ответить
Gowtham Bhat
Gowtham Bhat - 13.10.2020 10:57

I'm completely new to the Node js environment and having doubts about which method to use on the client-side, using template engines or the method that you are using?
Thanks in advance

Ответить
KEV IN
KEV IN - 16.09.2020 14:11

Amazing. Completed the videos today and learned a bunch.

Ответить
Amit Biswas
Amit Biswas - 28.08.2020 04:59

Thank you Steve. You are really a good human.

Ответить
Jivan Mainali
Jivan Mainali - 06.08.2020 14:31

how did you define those api key in package.json and used as process.env.apik_key.never seen before

Ответить
Jivan Mainali
Jivan Mainali - 06.08.2020 14:25

HOW CAN YOU USE ? req.header("x-api-key") .shouldnt it be req.header["x-api-key"]

Ответить
Matthew Beardsley
Matthew Beardsley - 17.06.2020 07:41

Thanks, Steve a good overview on the topic, especially loved seeing rate-limiting and restricting to a host. With sites that can only show the API key once, I presume that means that they aren't storing the API key on the server and hence it is more secure if the database is leaked, i.e. i've read about JWT. Is that a completely separate way of doing API authentication or essentially just an add on?

Ответить
S
S - 16.06.2020 15:16

Can someone please explain the hostname check part.. I didn't get it 😅 Thank you in advance

Ответить
Ashu Tiwari
Ashu Tiwari - 16.05.2020 11:36

I don't even work on express but I still watched it, it was nice. I just have one question, I have noticed that the operators ( => or !==) are being formatted differently in your editor, is this a VSCode update or are you using a plugin. Also can you create a video/ series on Javascript module loaders and bundlers. That would be very helpful.

Ответить
Maccelerate
Maccelerate - 13.05.2020 20:40

Trying to build my SO's website. This is a boon, thanks man.

Ответить
Maxon Tayebwa
Maxon Tayebwa - 13.05.2020 16:26

I have looked for this very topic for a very long time. Thanks Prof, you have saved me!

Ответить
Zimani 7g
Zimani 7g - 13.05.2020 15:02

Perfect 😍🔥.. Thankssssssssss ♥️

Ответить
Banjer
Banjer - 13.05.2020 12:43

Thank you very much, this kind of things are really interesting !!!

Ответить