Docs Explorer/Profile Architecture & Privacy Controls/Public vs. Private Profile Architecture: Complete Data Gating & Privacy Specification
11 min read

Public vs. Private Profile Architecture: Complete Data Gating & Privacy Specification

An exhaustive architectural analysis of profile visibility in Orbix. Explores deterministic data gating, zero-lag cascading deactivations, multi-tier cache invalidation, and digital card ownership isolation.

Public vs. Private Profile Architecture
01

Core Philosophy & Privacy Duality

Orbix functions as both a developer tracking workstation and a verified public showcase. A fundamental architectural tenet is that every engineer must have complete sovereignty over their data footprint. Developers often want to track their competitive submissions, practice algorithms, and benchmark their problem-solving metrics across all 16 connected developer portals without exposing their live ratings, recruiter channels, or resume to the broader internet.

To deliver this guarantee without introducing fragmented databases or secondary tables, Orbix implements an atomic data-gating model. The profile mode switch operates as a hard gate at the database, cache, and client presentation tiers.

Public Profile Paradigm

Full-fidelity portfolio mode. Aggregated contest ratings, multi-platform submissions tables, verified college affiliations, interactive 3D digital cards, recruiter messaging, and downloadable resumes are open for global inspection.

Private Profile Paradigm

Restricted identity showcase. Public visitors see only the candidate's name, headline, bio, location, verified college, up to 4 custom links, and skills. All metrics, recruiter actions, resume access, and card sharing are strictly disabled.

Live Component Visualizer

Interactive Profile Visibility Simulator

Digital Developer Card ShowcasePublic 3D Flip Card
Platform Matrix Active1,680+ Problems Solved
LeetCode 912
Codeforces 2045
GitHub 3.1k
Status: Fully PublicViewing as: External Visitor

Aarav Sharma

Systems & Full Stack Engineer

Bengaluru • Indian Institute of Technology

TypeScriptGoPostgreSQL
Open to Work
Hire me
02

Exhaustive Capability & Visibility Matrix

The table below provides the authoritative standard for every single profile attribute and interaction in Orbix. Every field is categorized into either Omnipresent Permitted Fields (available across both public and private profiles) or Protected Confidential Fields (automatically disabled when private).

Feature / CapabilityCategoryPublic ModePrivate ModeSecurity Enforcement Mechanism
First & Last NameIdentityActivePermittedPublic identity anchor across all Orbix views.
Professional HeadlineIdentityActivePermittedVisible for baseline identity; bounded to 255 characters.
Biography / SummaryIdentityActivePermittedPlaintext sanitized excerpt; max 2,000 characters.
Location / TimezoneIdentityActivePermittedCoarse regional representation; no granular address exposed.
Verified College AffiliationCampus DirectoryActivePermittedRelational database verification against authenticated institutions directory.
External Links (Max 4)Socials & PortfolioActivePermittedSanitized URLs with strict RFC3986 validation; capped at 4 items.
Skills & Technologies CatalogCompetenciesActivePermittedJSONB array in database; displayed as neo-brutalist badge chips.
Hire Me Recruiter Inquiry ModalRecruitmentActiveDisabledAutomatically disabled on UI; backend rejects with 403 Forbidden when private.
Resume Viewer & PDF DownloadRecruitmentActiveDisabledSigned CDN URL generation revoked; streaming proxy returns 403 Forbidden.
Open to Work Candidate StatusRecruitmentActiveDisabledDynamically cascaded to false in database and Redux store with zero lag.
Multi-Platform Coding MetricsAnalytics & ActivityActiveDisabledBackend sanitizes platforms array to empty [] for non-owner public requests.
Contest Ratings & Tier BadgesAnalytics & ActivityActiveDisabledSubmissions and contest components completely unmounted for visitors.
GitHub Contribution AnalyticsAnalytics & ActivityActiveDisabledDevelopment activity panel completely hidden from unauthorized visitors.
Public Card Sharing ('Get The Card')Digital CardActiveDisabledCard share buttons hidden for external visitors on private profiles.
Owner Card Studio & Manual ExportDigital CardActivePermittedAuthenticated session check; owner always retains personal card generation rights.
03

Dynamic Zero-Lag Cascade Architecture

A major architectural vulnerability in traditional privacy toggles is state lag—where a user turns off public visibility, but auxiliary flags like "Hire Me", "Open to Work", or cached resume URLs remain active until subsequent manual clicks occur. Orbix solves this through an authoritative synchronous cascade.

1

Settings Interaction

User clicks the Public Profile toggle switch in Settings. State triggers immediately in UI without awaiting network roundtrip.

2

Redux Synchronous Cascade

Dispatches updateUserProfile setting isPublic: false, isHireable: false, isOpenToWork: false.

3

Database SQL Transaction

Atomic SQL update executes conditional CASE statements: forcing is_open_to_work = false and is_hireable = false.

4

Cache Flush & Rejection

Multi-tier Redis caches are immediately invalidated. Subsequent visitor requests to hire endpoints return 403 Forbidden.

Database Gating Logic — Atomic CascadePostgreSQL Atomic Update
UPDATE users
SET
   is_public = $13,
   is_open_to_work = (CASE WHEN $13 = false THEN false ELSE is_open_to_work END),
   is_hireable = (CASE WHEN $13 = false THEN false ELSE is_hireable END),
   is_resume_public = (CASE WHEN $13 = false THEN false ELSE is_resume_public END),
   updated_at = CURRENT_TIMESTAMP
WHERE id = $19;
04

Digital Card Ownership & Isolation Boundary

A unique innovation in the Orbix architecture is the distinction between Public Card Distribution and Owner Asset Rights.

The Card Privacy Invariant

When a profile is toggled to Private, no third-party visitor navigating to the website can view, inspect, or download that candidate's digital cards. The "Get The Card" trigger button and LinkedIn/Instagram Story modals are unmounted.

However, the profile owner always retains uninterrupted access to Card Studio while signed into their workspace. The owner can flip front/back, preview high-res renders, download PNGs, and manually share their achievements on social media. The platform respects owner generation while guaranteeing complete visitor lockdown.

05

API Sanitization Specification

The endpoint GET /api/profile/public/:username implements strict server-side serialization filtering. Below is the side-by-side comparison of the JSON payload returned to a public visitor depending on profile visibility:

HTTP 200 OK — Public Mode ResponseFull Payload
{
  "username": "Vineet-Chandel",
  "displayName": "Vineet Chandel",
  "headline": "Systems & Full Stack Engineer",
  "bio": "Specializing in high-throughput systems...",
  "location": "Bengaluru, India",
  "college": { "officialName": "IIT" },
  "links": [{ "label": "GitHub", "url": "..." }],
  "skills": ["TypeScript", "Go", "PostgreSQL"],
  "isOpenToWork": true,
  "isHireable": true,
  "isPublic": true,
  "resumeUrl": "https://cdn.orbix.dev/...",
  "platforms": [
    { "portal": "leetcode", "stats": [...] },
    { "portal": "github", "stats": [...] }
  ]
}
HTTP 200 OK — Private Mode ResponseSanitized 7-Field Payload
{
  "username": "Vineet-Chandel",
  "displayName": "Vineet Chandel",
  "headline": "Systems & Full Stack Engineer",
  "bio": "Specializing in high-throughput systems...",
  "location": "Bengaluru, India",
  "college": { "officialName": "IIT" },
  "links": [{ "label": "GitHub", "url": "..." }],
  "skills": ["TypeScript", "Go", "PostgreSQL"],
  "isOpenToWork": false,
  "isHireable": false,
  "isPublic": false,
  "resumeUrl": null,
  "platforms": []
}

Orbix Architecture Series • Document Version 2.4.0

Maintained by the Orbix Security & Platform Intelligence Team.

Explore Related Documents

More architecture specifications and engineering workbooks

View All Files