Skip to content

✨🔒 Secure CRM Reports - Require authentication and prevent public access #85

@KostaMadorsky

Description

@KostaMadorsky

Cc: @suiyangqiu @yaqi-lyu @calumjs @joshbermanssw
Hi Team!

🟥 Watch the video (1 min 5 sec)

Pain

The CRM reports appear to be publicly accessible without authentication (e.g., can be opened in an incognito/private browser session).

The report URLs are also predictable (e.g., /CRM/ plus date segments), which increases the risk of unauthorized discovery/enumeration.

This could expose sensitive information for internal projects that should not be public.

Acceptance Criteria

  1. Unauthenticated users cannot access any CRM report pages (direct URL access returns an auth challenge or access denied).
  2. Authenticated access uses SSW IdentityServer (or the app’s standard auth mechanism) and requires sign-in before viewing reports.
  3. Authorization rules ensure only permitted users/groups can view reports (not just “any logged-in user”) where applicable.
  4. The application prevents/mitigates URL enumeration (e.g., enforce authorization per report, consider non-guessable identifiers where relevant, and log/block suspicious access patterns).
  5. Attempted unauthenticated access is logged for audit/monitoring.

Screenshot

CRM reports appear publicly accessible

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions