メインコンテンツまでスキップ

Security Settings

Your CSV (Computer System Validation) team is reviewing ProBeya for deployment in a GxP-regulated manufacturing environment. They need to verify that the platform meets 21 CFR Part 11, EU Annex 11, and your internal security policies. This page documents every security configuration available in ProBeya, its compliance impact, and the recommended settings for regulated deployments.

Organization admins can configure security settings in Settings > Security.

21 CFR Part 11 Compliance Checklist​

Use this checklist to verify ProBeya's configuration meets regulatory requirements before go-live:

21 CFR Part 11 SectionRequirementProBeya SettingRecommended Configuration
11.10(a)System validationPlatform qualificationDocument IQ/OQ/PQ per GAMP 5
11.10(d)Authority checks / unique usersMFA + SSO enforcementEnable org-wide 2FA; enforce SSO
11.10(d)Access controlsRole-based permissionsConfigure per Roles & Permissions
11.10(e)Audit trailActivity logEnterprise plan required for full log
11.10(g)Session controlsSession timeoutSet to 30 minutes for production systems
11.10(g)Open system safeguardsIP allowlistingRestrict to corporate network CIDRs
11.300(b)Electronic signature bindingMFA on critical operationsEnable 2FA for all members
EU Annex 11, s12.1Physical/logical accessIP allowlisting + SSOCombine network restriction with IdP auth
EU Annex 11, s12.4Password managementPassword policyEnforce 12+ chars, complexity, 90-day expiry

Two-Factor Authentication (2FA)​

Enabling 2FA for Your Account​

  1. Go to your Profile Settings > Security.
  2. Click Enable Two-Factor Authentication.
  3. Scan the QR code with an authenticator app (Google Authenticator, Authy, 1Password, Microsoft Authenticator).
  4. Enter the 6-digit TOTP code to verify.
  5. Save the recovery codes in a secure location.

TOTP configuration parameters:

ParameterValueNotes
IssuerProBeyaDisplayed in authenticator app
AlgorithmSHA1Industry standard for TOTP (RFC 6238)
Digits6Standard TOTP code length
Period30 secondsCode rotation interval

Backup Codes​

When MFA is enabled, 10 backup codes are generated in the format XXXX-XXXX (8 uppercase hex characters with a hyphen). Security properties:

  • Shown only once at setup time -- save them immediately to a secure vault or printed sheet.
  • Stored as bcrypt hashes in the database (never in cleartext).
  • Each code can be used only once as a one-time login fallback.
  • New backup codes can be regenerated at any time, which invalidates all previous codes.
警告

For GxP environments, backup codes should be stored in a controlled document system (e.g., a sealed envelope in a physical safe or an enterprise password vault with audit logging). Include the backup code storage procedure in your SOP for system access.

Enforcing 2FA Organization-Wide​

Organization admins can require all members to enable 2FA:

  1. Go to Settings > Security.
  2. Toggle Require 2FA for all members.
  3. Set a grace period (e.g., 7 days) before enforcement takes effect.
  4. Members who have not set up 2FA will be prompted on their next login.

The organization MFA status dashboard shows adoption metrics:

  • Total members with MFA enabled
  • Members in grace period (pending setup)
  • Non-compliant accounts (past grace period)
警告

Enabling org-wide 2FA enforcement affects all members including guests. Ensure external auditors and consultants with guest access have authenticator apps before enabling enforcement without a grace period.

Single Sign-On (SSO) -- Enterprise​

Enterprise plan customers can configure SSO with SAML 2.0 or OpenID Connect. See the dedicated SSO page for full configuration details.

SSO Enforcement Modes​

ModeBehaviorSecurity LevelUse Case
Allow both SSO and passwordMembers can log in either wayStandardTransition period during SSO rollout
SSO onlyDisables password login for non-admin membersHighProduction GxP environment
警告

When enforcing SSO-only login, ensure at least one org_owner retains password access as a break-glass measure. Document this in your disaster recovery SOP.

Session Management​

Configure session policies in Settings > Security > Sessions:

SettingDefaultGxP Recommended21 CFR Part 11 Reference
Session timeout7 days30 minutes11.10(g) -- prevent unauthorized access from unattended sessions
Maximum sessionsUnlimited211.10(d) -- limit concurrent access per user identity
Force logoutManualAs needed11.10(d) -- immediately terminate sessions for departing users

Session management helps comply with 21 CFR Part 11 requirements for controlled access. For production environments, a 30-minute inactivity timeout is the industry standard.

Password Policies​

Set minimum requirements for member passwords:

PolicyDefaultGxP RecommendedRationale
Minimum length812+NIST SP 800-63B recommends 8+; pharma industry standard is 12+
Require uppercaseOffOnIncreases character space
Require numberOffOnRequired by most pharma SOPs
Require special charOffOnRequired by most pharma SOPs
Password expiryOff90 days21 CFR Part 11 does not mandate rotation, but most pharma QMS SOPs require it
警告

Password expiry alone does not prevent compromise. Combine it with 2FA enforcement and SSO for defense-in-depth. NIST SP 800-63B recommends against mandatory rotation unless there is evidence of compromise, but many pharma quality systems still require it.

IP Allowlisting (Enterprise)​

Restrict access to your organization from specific IP addresses or CIDR ranges:

  1. Go to Settings > Security > IP Allowlist.
  2. Add IP addresses or CIDR ranges (e.g., 198.51.100.0/24).
  3. Enable the allowlist.
警告

Enabling IP allowlisting can lock you out if your own IP is not included. Before enabling:

  1. Add your current IP address.
  2. Add your VPN exit IPs.
  3. Add the IP ranges of all sites that need access.
  4. Test with a single admin account before enabling for the full org.
  5. Document the allowlist in your network architecture diagram.

Enterprise IP Strategy​

Network SegmentCIDR ExamplePurpose
Corporate HQ198.51.100.0/24Office-based access
Brussels Site VPN203.0.113.0/25Manufacturing site access
Dublin Site VPN203.0.113.128/25Manufacturing site access
Remote VPN Pool10.8.0.0/16Home/travel worker access via VPN

Audit Trail​

All security-related actions are logged to the activity log with immutable timestamps and actor identification:

Event CategoryLogged ActionsCompliance Reference
AuthenticationMFA enable/disable, backup code regeneration21 CFR Part 11.10(e)
SSOConfiguration changes, activation, deactivation21 CFR Part 11.10(e)
SessionForced terminations, timeout changes21 CFR Part 11.10(g)
PasswordPolicy changes, forced resetsEU Annex 11, s12.4
IP AllowlistRule additions, modifications, enablementSOC 2 CC6.1
Role ChangesPermission modifications, role assignments21 CFR Part 11.10(d)

These events support compliance requirements (21 CFR Part 11, EU Annex 11, GDPR Article 30) and security incident investigation. The audit trail is append-only -- entries cannot be modified or deleted.

Security Architecture Summary​

User → IP Allowlist → SSO / Password Auth → 2FA Challenge
↓
Session Created (timeout + max sessions enforced)
↓
Role-Based Permission Check (23 permissions)
↓
Tenant-Scoped Data Access (organizationId filter)
↓
Audit Trail Entry (immutable, timestamped)

Recovery Procedures​

ScenarioResolution
User locked out of 2FAUse one of the 10 backup codes. If all codes are exhausted, an org_owner can disable 2FA for the user.
All admins locked out (IP allowlist misconfigured)Contact ProBeya support with the billing email address for emergency IP allowlist reset.
SSO outage prevents all loginsAn admin with password access deactivates SSO enforcement. See SSO Recovery.
Suspected compromised accountForce-logout all sessions for the user, disable their 2FA, reset their password, and review the audit log.
Password policy change locked out existing usersUsers whose passwords no longer meet the new policy are prompted to change on next login, not locked out retroactively.