• hcf@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    74
    arrow-down
    3
    ·
    4 days ago

    If this is a login for a work/school account, it’s because someone in your IT department thinks that applying a short “max session length” policy is “extra secure”.

    Basically no different than shitty password rules or some places that make you change your password every 90 days.

    • OshaqHennessey@midwest.social
      link
      fedilink
      English
      arrow-up
      22
      ·
      3 days ago

      If your session gets hijacked, max session lengths ensure the attacker doesn’t retain access once the session expires. It’s more likely someone in your company was phished and the attacker retained access to their Outlook for a few days or weeks before anyone noticed.

      • hcf@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        21
        ·
        3 days ago

        The weakest link in any system is the user, not the security policy (or lack thereof).

        I’ve seen this particular policy aggravate users to the point where they would rather export sensitive company data onto their own personal machines rather than deal with having to reauth once per hour into some Entra ID SSO-backed web app.

        Or even users who generate service account credentials that they share around with their team such that nobody uses their own account to login anymore

        When your policy teeters towards aggravating users, many of them will just find clever ways to circumvent it, which is a losing situation for everyone.

        • Passerby6497@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 days ago

          Once per hour is just stupid, but once per shift is reasonable in my opinion.

          If your users can’t be bothered to auth once a day, they probably shouldn’t be working with anything remotely sensitive.

        • OshaqHennessey@midwest.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          The weakest link in any system is the user

          Correct. No policy is an adequate substitute for security training or phishing awareness training. That doesn’t mean to allow abuse cases though

          export sensitive company data onto their own personal machines

          Intune can be (and usually is) used to enforce logins only from enrolled devices. Personal devices can be enrolled, then Conditional Access policies can be applied to silo app data from company data, preventing this abuse case

          reauth once per hour

          No way. One per day, at most. No one should have to re-auth every hour, except maybe Global Admin accounts, which shouldn’t be used for day-to-day tasks anyway.

          users who generate service account credentials

          To do this in Entra, you need the Application Administrator role assigned, which is a Privileged Role, so it should be controlled by PAM to prevent/detect this abuse case.

          When your policy teeters towards aggravating users, many of them will just find clever ways to circumvent it

          Not for long. And usually not without leaving an audit trail that indicates violating acceptable use policies, security policies, or access control standards, which then becomes an HR issue, not an IT issue

        • hcf@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          8
          ·
          3 days ago

          I’m sympathetic, but I’m of the mind that it should just be the duration of the workday. Certainly not an hour like some places.

        • Passerby6497@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          3 days ago

          Half that at best. Unless you have people regularly working 12-14 hour shifts, 24 hours is excessive (and will annoy your employees more because that 24 hour clock will slowly migrate later in the day throughout the week - the expiration is never exactly on your limit in my experience).

    • taiyang@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      3 days ago

      If it makes you feel worse better, those security professionals are usually paid more than most ITs, sometimes over $200k a year.

      Drives my dad insane because his security person at City Hall might be the dumbest human being alive.

    • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      3 days ago

      The security: Since I have to retype the password every 5 minutes it is now recorded on every security camera system in a 20 kilometer radius.

      I can remember long random passwords, but I am still too paranoid about them being recorded. I think I even saw something about predicting passwords based on delay and sound of key presses from recorded audio.
      Well, when do you see the content of my private key? Never. Hopefully never, anyway. Same for cookies.

      • Zorcron@piefed.zip
        link
        fedilink
        English
        arrow-up
        6
        ·
        3 days ago

        Ideally you’d be able to use a password manager to autofill your passwords, but if you’re on company hardware, they may not allow you to install the password manager. May be able to get IT to make an exception since it should only boost your security.

        If you have to use shared hardware, then that sucks, I’m in the same boat.

    • apex32@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 days ago

      It could also be that is an application requesting access using an embedded browser, which is basically like an incognito/private window.

    • Korhaka@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      Yeah and now we all installed browser plugins to keep the session alive permanently for our password manager

    • Passerby6497@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 days ago

      it’s because someone in your IT department thinks that applying a short “max session length” policy is “extra secure”.

      And that person is right, up to a point at least.

      If you hijack my session, a short session lifetime explicitly kicks you out at the end of my original seasion, and you have to re-hijack. Assuming you don’t have both factors, it’s an easy way to limit the foothold of an attacker and make them have to try even harder. Cranking it too low will do the opposite, but we have more than a standard work shift for our session length, and it’s more than long enough to not be a massive annoyance.

      • atomicbocks@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        25
        ·
        4 days ago

        Windows 7 wasn’t Microsoft’s choice. It was the last version they produced under the injunction from the late 90s that prevented them from bundling services with Windows. Otherwise Microsoft actually had Microsoft Accounts (then called .Net Passports) ready to go for XP but had to make it optional. They had planned to tie activation to an account back then.

        This also represents the last time the US gave a shit about antitrust.

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      It was so funny, too, because even back then, they had already set an end-of-life date for 2025.

  • psx_crab@lemmy.zip
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 days ago

    This works for me. You know what doesn’t works? The “No Thanks” on OneDrive backup prompt.

  • Romkslrqusz@lemmy.zip
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    35
    ·
    edit-2
    3 days ago

    No lie here, just a user who doesn’t understand how cookies work

    I routinely engage with Microsoft services for work and generally only get this after clearing browser data.

    Edit: To clarify, this is not a case of “works on my machine” - in addition to my own, my work involves hundreds of users’ devices with many different browsers and configurations. The dialog is effectively a “Remember Me” checkbox, which stores a cookie. Employing extensive use of privacy tools will affect cookies and is antithetical to the concept of having a site remember who you are and will probably mess with that cookie - not that there’s anything wrong with wanting to protect one’s privacy.

    My point was mostly that this meme isn’t really a typical experience and that experience is likely the result of something they’ve set up for themselves.

    • RisingSwell@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      25
      arrow-down
      1
      ·
      3 days ago

      I can sign in to a thing, close the app and instantly get it again. On repeat. I’m not even sure I could clear the cookies in the 20 seconds it takes for it to show up again.

      • Romkslrqusz@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        16
        ·
        3 days ago

        Browsers can be configured to clear cookies on close

        Browsers that market themselves for “privacy” probably do it by default

        • RisingSwell@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          17
          ·
          3 days ago

          Not in a browser, and Firefox doesn’t do it by default anyway as I’d find it very annoying.

          It’s just Microsoft. It doesn’t effect everyone, but it effects a lot of people and Microsoft is just shit. About 20% of the people I work with deal with the same issue of it being required every single time and I bet some of them have never cleared a cookie in their life.

    • Björn@swg-empire.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      You can easily set a cookie expiration date in 2999. That’s far enough to be indefinite. Then you save the user’s preferences in the database forever to remember when they log in elsewhere.