logoalt Hacker News

userbinatortoday at 12:23 AM3 repliesview on HN

there is no permissions scheme

If you already have full access by design, then there's no "huge security hole" either.


Replies

alpertoday at 12:39 PM

This is entirely how FP is supposed to work. Don't like that, don't use it.

It ships database files over the network and does that blazingly fast.

EvanAndersontoday at 12:35 AM

Exactly. It's not a security hole. It's just the architecture of the program.

It seems like many people have a hard time understanding this, including developers.

Any attempt to add any kind of permissions, security, etc, without addressing the nature of the architecture (that the database engine runs in the same address space / security context as the UI) misses the point.

show 2 replies
mikestewtoday at 12:57 AM

Well, I had to call it something. File system DBs were a problem long before FoxPro’s DBCs, yes. Yes, it’s an architectural decision. Sharp cookies would just modify the files directly. But that would just trash data (or bump my hourly rate in the HR DB). Most of the time, “full access to data” doesn’t necessarily mean “run arbitrary code”. In this case, it does, which I don’t think folks expect, hence “hole”.

show 2 replies