littleshop/LittleShop/Services
SysAdmin d343037bbd Security: Fix critical vulnerabilities and implement security hardening
CRITICAL SECURITY FIXES:
- Fixed certificate validation bypass vulnerability in BTCPayServerService
  * Removed unsafe ServerCertificateCustomValidationCallback
  * Added environment-specific SSL configuration
  * Production now enforces proper SSL validation

- Fixed overly permissive CORS policy
  * Replaced AllowAnyOrigin() with specific trusted origins
  * Created separate CORS policies for Development/Production/API
  * Configured from appsettings for environment-specific control

- Implemented CSRF protection across admin panel
  * Added [ValidateAntiForgeryToken] to all POST/PUT/DELETE actions
  * Protected 10 admin controllers with anti-forgery tokens
  * Prevents Cross-Site Request Forgery attacks

CONFIGURATION IMPROVEMENTS:
- Created appsettings.Development.json for dev-specific settings
- Added Security:AllowInsecureSSL flag (Development only)
- Added CORS:AllowedOrigins configuration arrays
- Created comprehensive security roadmap (ROADMAP.md)

ALSO FIXED:
- TeleBot syntax errors (Program.cs, MessageFormatter.cs)
- Added enterprise-full-stack-developer output style

Impact: All Phase 1 critical security vulnerabilities resolved
Status: Ready for security review and deployment preparation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 11:56:12 +01:00
..
AuthService.cs BTCPay-infrastructure-recovery 2025-09-04 21:28:47 +01:00
BotMetricsService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
BotService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
BTCPayServerService.cs Security: Fix critical vulnerabilities and implement security hardening 2025-09-19 11:56:12 +01:00
CategoryService.cs Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00
CryptoPaymentService.cs Fix BTCPay Server integration for production deployment 2025-09-19 10:21:04 +01:00
CustomerMessageService.cs Implement bidirectional customer conversations with customer-based grouping and order tagging 2025-08-27 19:18:46 +01:00
CustomerService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
DataSeederService.cs BTCPay-infrastructure-recovery 2025-09-04 21:28:47 +01:00
IAuthService.cs BTCPay-infrastructure-recovery 2025-09-04 21:28:47 +01:00
IBotMetricsService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
IBotService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
ICategoryService.cs Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00
ICryptoPaymentService.cs Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00
ICustomerMessageService.cs Implement bidirectional customer conversations with customer-based grouping and order tagging 2025-08-27 19:18:46 +01:00
ICustomerService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
IOrderService.cs Implement product variations, enhanced order workflow, mobile responsiveness, and product import system 2025-09-18 01:39:31 +01:00
IProductService.cs Implement product variations, enhanced order workflow, mobile responsiveness, and product import system 2025-09-18 01:39:31 +01:00
IPushNotificationService.cs WebPush-and-photo-upload-fixes 2025-09-01 06:01:05 +01:00
ITelegramBotManagerService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
OrderService.cs Implement product variations, enhanced order workflow, mobile responsiveness, and product import system 2025-09-18 01:39:31 +01:00
ProductImportService.cs Implement product variations, enhanced order workflow, mobile responsiveness, and product import system 2025-09-18 01:39:31 +01:00
ProductService.cs Implement product variations, enhanced order workflow, mobile responsiveness, and product import system 2025-09-18 01:39:31 +01:00
PushNotificationService.cs BTCPay-infrastructure-recovery 2025-09-04 21:28:47 +01:00
ReviewService.cs Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
RoyalMailService.cs "Royal-Mail-shipping-integration-and-test-improvements" 2025-09-08 03:53:28 +01:00
ShippingRateService.cs Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00
TelegramBotManagerService.cs "Fix-security-and-config-from-TestAgent" 2025-08-27 22:41:18 +01:00