TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Client-side filtering of private data is a bad idea

141 pointsby ramimac9 months ago

12 comments

avh39 months ago
The title reads like: "Why jumping from a bridge is a bad idea". Does this needs to be stated?
评论 #41298778 未加载
评论 #41300855 未加载
评论 #41298792 未加载
Sephr9 months ago
Caveat to the title: Except for local client-side data <i>emissions</i>. Filtering private data before it gets sent from your device in the first place is a good idea.
评论 #41302705 未加载
评论 #41301465 未加载
globular-toast9 months ago
I wonder how many backends are just pure CRUD with all business rules implemented on the frontend? Scary to think. I&#x27;m forever having to tell devs that form validation in js isn&#x27;t enough, you need to do it on the backend too (or, preferably, only). This article is about reading data you shouldn&#x27;t be able to, but my strong suspicion is a bunch of stuff out there will let you write stuff you shouldn&#x27;t be able to as well.
评论 #41298859 未加载
cesarb9 months ago
This is a risk common to all &quot;fat clients&quot;, when the same team develops both the server code and the client code: it&#x27;s easy to forget that, unlike the server code, the client code cannot be trusted.
评论 #41300402 未加载
dboreham9 months ago
Translated: implementing a server query interface with insufficient access controls is a bad idea.<p>The article is mostly about the resulting security by obscurity being broken.
Cerium9 months ago
They should learn about bloom filters. Could kill two birds with one stone, fix leaking the preferences via the swipe list and fix the ever growing query problem.
评论 #41300643 未加载
评论 #41300406 未加载
robertclaus9 months ago
I&#x27;ve always been a bit suspicious that mistakes like this are easier in GraphQL than older REST (or even SOAP) models because GraphQL is designed for more frontend-driven development. Obviously this is just one example, but it was interesting that it involved &quot;hidden&quot; GraphQL data.
评论 #41296444 未加载
评论 #41299904 未加载
Arch-TK9 months ago
Long post to say that yet another application had an access control issue which was being masked because the access control was implemented on the client.<p>Incredibly common in my experience in the security field.
olliej9 months ago
Oh I see, the claim is “we don’t do the result filtering ourselves so we don’t know what you’re looking for” but that is done by … taking your filters and broadcasting them to everybody?<p>So they’ve removed the server from the filtering process but made the privacy implications far worse.
andreareina9 months ago
403 Forbidden
autoexec9 months ago
I don&#x27;t understand this idea that you can do anything &quot;privately&quot; on a device designed to collect and leak your personal information whose admin is a corporation that can make changes to the system at any time without your consent or awareness, and where multiple parties (carrier, and manufactures) have privileged access to do the same, and where your own access is extremely limited and controlled. The entire system is totally insecure and non-private by design.<p>The idea that dating app could prevent your preferences from being collected seems unlikely to me too. If people are posting profiles and messaging each other on a platform, that platform is going to have no problem learning what their interests are. They don&#x27;t need to know what you&#x27;re searching for, as long as they know who you&#x27;re finding.
评论 #41297553 未加载
评论 #41297130 未加载
评论 #41300500 未加载
评论 #41299829 未加载
kkfx9 months ago
Ehm... A long time developer do think data sent on someone else machine can still be &quot;private&quot;? Ehm... Mh... I have some issue to find a politically correct way to state the fact that no damn laws can &quot;protect&quot; people who send anything to a third party...<p>BTW if some user of a dating service is concerned about his&#x2F;her own searches... More than beings scared about &quot;potential client-side leaks other dating service user might harvest&quot; try to concentrate on how much personal dating interests the service can harvest and eventually re-sell, if not &quot;the service&quot; just some working for it and having some side business...
评论 #41298529 未加载
评论 #41298357 未加载