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.

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.
Interactive Profile Visibility Simulator
Aarav Sharma
Systems & Full Stack Engineer
Bengaluru • Indian Institute of Technology
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 / Capability | Category | Public Mode | Private Mode | Security Enforcement Mechanism |
|---|---|---|---|---|
| First & Last Name | Identity | Active | Permitted | Public identity anchor across all Orbix views. |
| Professional Headline | Identity | Active | Permitted | Visible for baseline identity; bounded to 255 characters. |
| Biography / Summary | Identity | Active | Permitted | Plaintext sanitized excerpt; max 2,000 characters. |
| Location / Timezone | Identity | Active | Permitted | Coarse regional representation; no granular address exposed. |
| Verified College Affiliation | Campus Directory | Active | Permitted | Relational database verification against authenticated institutions directory. |
| External Links (Max 4) | Socials & Portfolio | Active | Permitted | Sanitized URLs with strict RFC3986 validation; capped at 4 items. |
| Skills & Technologies Catalog | Competencies | Active | Permitted | JSONB array in database; displayed as neo-brutalist badge chips. |
| Hire Me Recruiter Inquiry Modal | Recruitment | Active | Disabled | Automatically disabled on UI; backend rejects with 403 Forbidden when private. |
| Resume Viewer & PDF Download | Recruitment | Active | Disabled | Signed CDN URL generation revoked; streaming proxy returns 403 Forbidden. |
| Open to Work Candidate Status | Recruitment | Active | Disabled | Dynamically cascaded to false in database and Redux store with zero lag. |
| Multi-Platform Coding Metrics | Analytics & Activity | Active | Disabled | Backend sanitizes platforms array to empty [] for non-owner public requests. |
| Contest Ratings & Tier Badges | Analytics & Activity | Active | Disabled | Submissions and contest components completely unmounted for visitors. |
| GitHub Contribution Analytics | Analytics & Activity | Active | Disabled | Development activity panel completely hidden from unauthorized visitors. |
| Public Card Sharing ('Get The Card') | Digital Card | Active | Disabled | Card share buttons hidden for external visitors on private profiles. |
| Owner Card Studio & Manual Export | Digital Card | Active | Permitted | Authenticated session check; owner always retains personal card generation rights. |
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.
Settings Interaction
User clicks the Public Profile toggle switch in Settings. State triggers immediately in UI without awaiting network roundtrip.
Redux Synchronous Cascade
Dispatches updateUserProfile setting isPublic: false, isHireable: false, isOpenToWork: false.
Database SQL Transaction
Atomic SQL update executes conditional CASE statements: forcing is_open_to_work = false and is_hireable = false.
Cache Flush & Rejection
Multi-tier Redis caches are immediately invalidated. Subsequent visitor requests to hire endpoints return 403 Forbidden.
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;
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.
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:
{
"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": [...] }
]
}{
"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": []
}