Re: 2 Macs -- 1 File



On Thu, 20 Jan 2011 16:24:50 -0000, "Graham J" <graham@invalid> wrote:

However, as others have explained, the surprising fact apears to be that
file system security is controlled by the application, not by the file
system. So an application can request "open file for read" - which should
succeed regardless of who else is using the file; or "open file for write"
which one might expect to fail if the file is already opened from elsewhere.
If the application chooses to ignore the "already open" state of the file
then corruption can occur.

I can't see any other reason why it appears to be "extra-unwise" to point
two copies of Filemaker at the same file.

My suspicion is that security enforced by the file system would be too slow,
so it's not done.

I don't think so - security enforced by the filesystem is very quick
indeed. Filemaker is an old app, from before Macs had any real
filesystem permissions or security. The MS Office apps are the same.

Although all are now OSX apps, and the OSX filesystem is fairly rich
in controls (basic unix user/group permissions, modern access lists,
tagged info items) I would be willing to bet that the reason those
apps do their own locking is simply because they haven't been
rewritten to take advantage of the OS they are now running on.

Cheers - Jaimie
--
Once I drove so fast that my friend, who was pregnant, started having
Lorentz contractions.

"Ahah," you might ask, "but how far apart were they?" - Adam Fineman, rgrn
.



Relevant Pages

  • Re: Are bad developer libraries the problem with M$ software?
    ... rarely poeple on security lists. ... If you want to add language specific content to the OWASP Guide feel ... > I think that most on the list would agree that, overall, most web apps are ... > programmers when they haven't been offered a clue. ...
    (SecProg)
  • [UNIX] Buffer Overflow in ISO9660 File System Component of Linux Kernel
    ... Get your security news from a reliable source. ... The Linux kernel performs no length checking on ... symbolic links stored on an ISO9660 file system, ... In order to exploit this vulnerability, an attacker must be able to mount ...
    (Securiteam)
  • Re: FSI Indices with translates the answer
    ... directory of the file system that one is within, ... there are other MV dbms products that have virtually no security ... MV vendors should provide that functionality required by "ALL" users. ... when you fire anyone who points out problems ...
    (comp.databases.pick)
  • Re: For the AdaOS folks
    ... A mall with one or two doors on the outside to be ... > only makes sense to choke the security at a minimal number ... > that exist within the file system. ... While it is not the entire answer to network ...
    (comp.lang.ada)
  • Re: Linux security
    ... that is in Windows NT-based systems out of the box. ... Why do you want that fine level of control? ... level of control over security?" ... a file system is a different beast altogether. ...
    (Ubuntu)