News for hackers. Stuff that matters.
Re:“Magic links” can end up in Bing search results, renderin... by Spivak on Monday June 27, 2022 @12:18PM (#31896743)
Just as a trivial example, how confident would you be in this auth scheme?

1. User opens Outlook and types in their email and password.

2. The app requests the user's password hash from the server and checks it.

3. Outlook tells the server auth was successful and gets a session token.

Re:“Magic links” can end up in Bing search results, renderin... by shepherdjerred on Monday June 27, 2022 @04:05PM (#31900055)
In this example you're right. For something like scanning a site for malicious content, on-device is not a bad approach. It decreases the amount of data sent to the server.

The client has a much bigger issue to worry about if the client-side malware scanning has been compromised. Malware could modify the UI/network calls such that your server-side scanning displays a positive result anyway.

You have to trust the client to display information to the user at some point. Link malware scanning that job can safely be delegated to the client. Authentication cannot.