Additional SQL Server features and topics not covered by specific categories
You have asked the same question multiple times.
The answer to your question is: you can't. A login is to the SQL Server. Logins are not application specific, they are server specific.
"Users" should not have a access to an application login/password to the SQL Server. The way to restrict users from accessing SQL Server, is to keep the username/password secret or encrypted.