I've created a Angular website and an PHP API but I don't want my API being usable to everyone and I don't know how to block access to all users except my website.
Some ideas, advices ?
I've created a Angular website and an PHP API but I don't want my API being usable to everyone and I don't know how to block access to all users except my website.
Some ideas, advices ?
You would want to implement some sort of authentication or limiting of access. Here are something to get you started: https://www.sitepoint.com/php-authorization-jwt-json-web-tokens/