Why API key must be unrestricted

Posted in: Newspaper
Post count: 29

Hello team,

please, why API key for youtube, must be unrestricted for APIs and no restriction for IP or Website must be set.
If I restrict API key for one of these, data about count of Youtube subcribers are not getting.

As well in your guide for setting Youtube API key, talking about disabling all restrictions for API key.

Thank you

Post count: 27744

Hi,

This is how the implementation was made. It also depends on what restrictions you have set.

Thank you!

Post count: 29

Hello Anamaria, I would like to restrict API key for specific domain and API. Just for security reason.
I just don´t understant, why it is not possible.

Thanks a lot
Vaclav

Post count: 27744

Hi,

There are some settings made by the developers to let to have subscribers.
If you want you can set the count -> https://i.imgur.com/ddgRI93.png

Thank you!

Post count: 29

Hi,
I would like to have online information on site, not static number, but have unlimited API key in not good idea.

Im using more keys and every time is possible restrict key for website and API, but here it is not possible…

Thank you!

Post count: 27744

Hi,

Please note that the customization(code) will require custom work which is not covered by the support team -> https://tagdiv.com/web-development-services/

Thank you!

Post count: 29

Hi, Im not talking about custom development. I would like to report bug in this case.
Or please,m just explain, why I have to public unrestricted API key, it is big security issue.

May be, some explanation from develorers, why it is so designet?

Thank you

Post count: 27744

Hi,

Because in this way it was implemented because the code accessed an API from youtube.
Also, do a test with those settings https://prnt.sc/QttX6ioW1dda

Thank you!

Post count: 29

Hello Anamaria,
how did you find this? I was not able to debug it 🙂

Excelent job!

I´ll try it!

Thaks a lot!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.