OtagoPolytechnic / third-year-studio-2024-fresh-air

third-year-studio-2024-fresh-air created by GitHub Classroom
3 stars 0 forks source link

Obscuring the API endpoint #142

Open declandeh00 opened 2 months ago

declandeh00 commented 2 months ago

An bug that was found was that anyone can access our API and change it. so we will need to hide it from public view. When on the website and inspecting the network as seen here, as it displays all API endpoints used image

martinj-op commented 1 month ago

I don't think you'll be able to hide your API from the public. Can you elaborate a bit more what this ticket means?

declandeh00 commented 1 month ago

I have updated what I mean. I hope this helps.

martinj-op commented 1 month ago

There's not much you can do about it. You just need to make sure that your REST API backend is bulletproof.