Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dupe: Handle multiple sessions from different location #659

Closed
19 tasks
jonnalley opened this issue Feb 8, 2023 · 2 comments
Closed
19 tasks

Dupe: Handle multiple sessions from different location #659

jonnalley opened this issue Feb 8, 2023 · 2 comments

Comments

@jonnalley
Copy link
Contributor

jonnalley commented Feb 8, 2023

User Story

_As an OPRE System Admin, I want to insure that a user can't have a valid session from two sources simultaneously to enact a better security posture.

Acceptance Criteria

  • For any singular user account, the originating IPv4 or IPv6 address should be tracked and if during an existing valid session, another authorization is attempted for the same user from a different IP "location", the pre-existing session should be invalidated but the new one should survive and be allowed to proceed.
    (@tdonaworth updated to remove the "how")

Tasks

  • Make any changes necessary to track an authenticated user's IP address source location as part of active session management
  • Build any logic necessary to tear down the pre-existing session to meet the AC mentioned above.

Definition of Done Checklist

  • Usability validated
  • UI works as designed
  • OESA: Code refactored for clarity
  • OESA: Dependency rules followed
  • Automated unit tests updated and passed
  • Automated integration tests updated and passed
  • Automated quality tests updated and passed
  • Automated load tests updated and passed
  • Automated a11y tests updated and passed
  • Automated security tests updated and passed
  • 90%+ Code coverage achieved
  • PR(s) have been merged to main
  • Design/tech debt eliminated
  • Build process updated
  • Documentation updated or added
  • Feature flags/toggles created

Additional Context & Resources

  • This may be superseded by or related to the control NIST 800-53 rev 5 AC-10 which requires us to have restrictions on concurrent sessions.
@jonnalley jonnalley added security-privacy-compliance Work needed around Security, Privacy, or Compliance story A defined user story adhering to expected norms including a narrative labels Feb 8, 2023
@tdonaworth tdonaworth changed the title Story: Handle multiple sessions from different source IPs Story: Handle multiple sessions from different location Feb 9, 2023
@tdonaworth
Copy link
Collaborator

Updated the AC to be more generic, as the core need is to ensure we determine the source "location" of an Authentication, and maintain that. "How" we do that is for us to determine and implement, as tracking IP is generally fraught with issues; as there are other ways to determine where a request originated from, etc.

@jonnalley
Copy link
Contributor Author

This is now a dupe of 664, closing for now

@jonnalley jonnalley changed the title Story: Handle multiple sessions from different location Dupe: Handle multiple sessions from different location Feb 11, 2023
@jonnalley jonnalley removed story A defined user story adhering to expected norms including a narrative security-privacy-compliance Work needed around Security, Privacy, or Compliance labels Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants