Ollama has no auth mechanism by default... You have to wonder why they never focused on that
replies(6):
If you deploy a power plug outside your house, is it the fault of the power plug designer if people steal your power?
Put it behind a webserver with basic auth or whatever you fancy, done.
This is a program that very different people want or need to try out that just so happens to involve a client-server architecture.