Logging in to meteor via other server

Can I prevent logging into the app via frontend and only allow it via server instead?