HTTPS website+API, confusion about best practices?

HTTPS website+API, confusion about best practices?
2 by epimetheus2 | 3 comments on Hacker News.
Let's say we have a site www.coolstore.com that accesses api.coolstore.com What is the best practice and possible attack vectors when not sticking to them? It seems that www.coolstore.com should be under https://ift.tt/3rgqIJ2. What about assets? Let's say we force a redirect to https:// on the site itself, but not on assets. e.g. you copy the request and change it to http you can access some javascript files. Would that be a problem? How about API ? Is it neccesary that also api.coolstore.com requires https, even though it's only used by the website? Should it have http:// completely turned off? Is there some manual of best practices with deploying react site + api ?

Comments

Popular posts from this blog

Lord of the Rings Influenced a Cyberpunk 2077: Phantom Liberty Quest

Lord of the Rings Fans Mourn King Théoden Actor Bernard Hill, Dead at 79

Redfall's Final Update Is Live, Bringing With It Offline Mode, DLSS 3, and More