News for hackers. Stuff that matters.
Re:FastUI: Build Better UIs Faster by ipaddr on Friday March 01, 2024 @11:29PM (#39569796)
The kind of site that gets all of their data stolen. It can be a cool pattern.
Re:FastUI: Build Better UIs Faster by dventimi on Friday March 01, 2024 @11:47PM (#39569907)
Rubbish
Re:FastUI: Build Better UIs Faster by lozenge on Saturday March 02, 2024 @05:35AM (#39571571)
In Django I had code in every view ensuring that the user was not accessing another user's data. If I create an abstraction like a utility function or "model manager" to handle this, I have to remember to call it from every view. In Graphene, this logic would be in a resolver which is used across multiple views.
Re:FastUI: Build Better UIs Faster by vidarh on Saturday March 02, 2024 @06:21AM (#39571795)
If serving up metadata about what the site already makes accessible via the API will get their data stolen, then the actual problem is they're not applying access controls to the data, not the introspection.
Re:FastUI: Build Better UIs Faster by xtagon on Wednesday March 06, 2024 @11:14PM (#39624999)
The types are no less protectable by authorization policies than the data, although authorization is hard to get right anyways, all else the same this architecture doesn't worsen it much--perhaps just less reverse engineering required to exploit vulnerabilities you already had.