Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived
Unofficial Hacker News client; not affiliated with Y Combinator.
mikestew · · focus · HN ↗
My recommendation is to get rid of the DBF/DBC files and move to a SQL DB of some flavor ASAP. If you have the source code, use ODBC or OLE DB to point to a server.
Source: filed that bug over 20 years ago when I worked on the Fox team. No, it wasn’t going to get fixed without rewriting large parts of how the DB engine worked.
userbinator · · focus · HN ↗
If you already have full access by design, then there's no "huge security hole" either.
EvanAnderson · · focus · HN ↗
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.
shermantanktop · · focus · HN ↗
But the filesystem access to read/write the db files creates a path to bypass half of that application.
Does the application checksum the db file and have any resistance to filesystem tampering? That'd be trivial to beat, I’m sure, but it’d be something.
lelanthran · · focus · HN ↗
Is there any local/native application for which this is not true?
shermantanktop · · focus · HN ↗
I’m not a FoxPro user and so maybe these are single-user/single-host installs, where the user can only destroy their own data, and permissions are a pretend feature. In which case, carry on.
306bobby · · focus · HN ↗
EvanAnderson · · focus · HN ↗
The rub here is that FoxPro is an in-process database engine and accesses its data files with the security context of the user running the application. It doesn't have separation between the database engine and the UI like a client/server database would. Think of it like SQLite or BerkeleyDB.
Architecturally users who use the application need full read/write access to all the data files for FoxPro to work.