Menu

#4 Password hashes stored world readable

MacOSX
open-accepted
5
2002-11-14
2002-11-05
Anonymous
No

The default file permissions on UNIX systems MacOSX
included, allow for anyone to read the entire
configuration directory.

Workaround:

chmod 700 ~/.jbidwatcher
chmod go-rwx ~/.jbidwatcher/*

Discussion

  • Morgan Schweers

    Morgan Schweers - 2002-11-14
    • labels: 101616 -->
    • milestone: 154237 -->
    • assigned_to: cyberfox --> nobody
    • status: open --> open-accepted
     
  • Morgan Schweers

    Morgan Schweers - 2002-11-14

    Logged In: YES
    user_id=19745

    Greetings,
    Unfortunately, there's no pure Java way to set these
    permissions. It should be creating the file according to
    your umask, however, so if that's set appropriately, it
    should be fine.

    I can add code to do a:
    Runtime.getRuntime().exec("chmod og-rwx " + fname);

    if it's on a Unix system, but that's a platform specific
    feature, so a bit lower priority.

    -- Morgan

     
  • Morgan Schweers

    Morgan Schweers - 2002-11-14
    • labels: --> Configuration
    • milestone: --> MacOSX
    • assigned_to: nobody --> cyberfox
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.