Files
sor/Server/SOR.slnx
T
c972b8687e feat(website): stand up SOR.Website public game site
Adds the complete SOR.Website ASP.NET Core Razor Pages project:

Security architecture:
- SecurityHeadersMiddleware sets strict CSP (script-src/style-src 'self',
  form-action 'self', frame-ancestors 'none', object-src 'none')
  — all XSS injection is dead on arrival
- __Host- cookie prefix on session + CSRF cookies (forces Secure, Path=/,
  no Domain — prevents subdomain-compromise cookie theft)
- Anti-forgery tokens on every POST by default (Razor Pages default)
- AuthorizeFolder("/Account") — unauthenticated access to any /account/*
  redirected to login at the routing layer, no per-page [Authorize] needed
- Rate limiting per-IP: login (10/5min), register (5/hr), reset (3/15min)
- Open redirect prevention: all returnUrl values checked with Url.IsLocalUrl
- Anti-enumeration: ForgotPassword/Register never reveal whether email exists
- Account lockout: 5 failed login attempts → 30min lockout
- ChangePasswordAsync requires current password before accepting new one
- Leaderboard only projects DisplayName + RankScore (email/ID never exposed)
- Data Protection keys in Redis (shared key ring across pods)
- ForwardedHeaders middleware for accurate IP under TLS-terminating ingress

Pages implemented:
- Public: Home, Story, How To Play, Cards (catalog + detail), Leaderboard,
  AI Assets (explanation + report), News, Support, Privacy, Terms, Webclient
- Auth: Login, Register, Logout (POST-only), ForgotPassword, ResetPassword,
  VerifyEmail — all with rate limiting and anti-enumeration controls
- Account (auth-gated): Overview, Profile (display name), Security
  (change password), Game stats

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-04-22 19:51:04 -04:00

28 lines
1.4 KiB
XML

<Solution>
<Folder Name="/src/">
<Project Path="src/SOR.Admin/SOR.Admin.csproj" />
<Project Path="src/SOR.Website/SOR.Website.csproj" />
<Project Path="src/SOR.Tools/SOR.Tools.csproj" />
<Project Path="src/SOR.Auth/SOR.Auth.csproj" />
<Project Path="src/SOR.Bazaar/SOR.Bazaar.csproj" />
<Project Path="src/SOR.Cdn/SOR.Cdn.csproj" />
<Project Path="src/SOR.Chat/SOR.Chat.csproj" />
<Project Path="src/SOR.Collection/SOR.Collection.csproj" />
<Project Path="src/SOR.Content/SOR.Content.csproj" />
<Project Path="src/SOR.Database/SOR.Database.csproj" />
<Project Path="src/SOR.Ai/SOR.Ai.csproj" />
<Project Path="src/SOR.Game/SOR.Game.csproj" />
<Project Path="src/SOR.Gateway/SOR.Gateway.csproj" />
<Project Path="src/SOR.Host/SOR.Host.csproj" />
<Project Path="src/SOR.Matchmaking/SOR.Matchmaking.csproj" />
<Project Path="src/SOR.Networking.Abstractions/SOR.Networking.Abstractions.csproj" />
<Project Path="src/SOR.Networking.Nats/SOR.Networking.Nats.csproj" />
<Project Path="src/SOR.Networking.Redis/SOR.Networking.Redis.csproj" />
<Project Path="src/SOR.Networking.WebSocket/SOR.Networking.WebSocket.csproj" />
<Project Path="src/SOR.Shared.Proto/SOR.Shared.Proto.csproj" />
<Project Path="src/SOR.Shared/SOR.Shared.csproj" />
<Project Path="src/SOR.Support/SOR.Support.csproj" />
<Project Path="src/SOR.Versioning/SOR.Versioning.csproj" />
</Folder>
</Solution>