Security, Auth, and Compliance

Tenant Aware Authorization: The Mistake That Leaks Data

Missing tenant context in authorization checks is the most common data leakage pattern in multi tenant SaaS. Here is how it happens and how to prevent it.

May 23, 2026 · 7 min read
Security, Auth, and Compliance

SQL Injection in 2026: Still Happening, Still Preventable

SQL injection has been on the OWASP Top 10 for two decades. It is still being exploited. Here is why and how to stop it.

May 22, 2026 · 7 min read
Security, Auth, and Compliance

SOC 2 Type I vs Type II: A Founder's Guide to Both

SOC 2 Type I proves you have the controls. Type II proves they work over time. Here is what each means and when you need them.

May 22, 2026 · 7 min read
Security, Auth, and Compliance

Single Sign On for Enterprise SaaS: SAML and OIDC Compared

SSO is a procurement requirement for enterprise deals. Here is what SAML and OIDC each mean for your engineering roadmap.

May 22, 2026 · 8 min read
Security, Auth, and Compliance

Session Management for Web Apps: A Modern Take

Session management in web applications encompasses the mechanisms for maintaining authenticated state between client requests. Modern web session management involves two primary approaches: server side sessions (a session ID is stored in a cookie and maps to session state in a database or cache) and token based sessions (a JWT or similar token is issued to the client and validated on each request without server side state). The choice affects scalability, security, invalidation capability, and implementation complexity.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

Server Side Request Forgery: The Quiet Killer in SaaS Integrations

Server Side Request Forgery (SSRF) is a vulnerability where an attacker can cause the server to make HTTP requests to a destination the attacker controls, which may include internal network resources, cloud provider metadata services, or other backend infrastructure not accessible from the public internet. SSRF is particularly dangerous in SaaS products that accept URLs provided by users (webhook endpoints, image imports, integration callbacks, RSS feed fetchers) because the server's network position grants access to resources the attacker cannot reach directly.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

Secrets Management for SaaS: Vault, AWS Secrets Manager, Doppler

Secrets management for SaaS encompasses the systems used to store, distribute, rotate, and audit access to sensitive credentials including database connection strings, API keys, encryption keys, and service tokens. A secrets management system provides: centralized storage with encryption at rest, access controls that restrict which services and environments can read each secret, audit logs of every secret access, and rotation mechanisms that update secrets without manual deployment. The alternatives range from .env files (no management) to HashiCorp Vault (full dynamic secrets infrastructure).

May 22, 2026 · 6 min read
Security, Auth, and Compliance

SCIM Provisioning: The Feature Enterprise Customers Will Demand

SCIM (System for Cross-domain Identity Management) is a standardized protocol that allows enterprise identity providers (Okta, Azure AD, Google Workspace) to automatically create, update, and deactivate user accounts in SaaS applications. When a new employee joins a company, their IT team provisions them in the identity provider, which automatically creates their account in all connected SaaS tools via SCIM. When an employee is offboarded, their accounts across every tool connected via SCIM are deactivated automatically. SCIM is a standard enterprise buying requirement for SaaS products targeting companies with more than 50 employees.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

Right to Be Forgotten: How to Implement It Without Pain

The right to be forgotten (formally 'right to erasure' under GDPR Article 17) gives individuals the right to request deletion of their personal data when it is no longer necessary for the purpose it was collected, when consent is withdrawn, or when the data was processed unlawfully. Implementing this right requires identifying all locations where a user's personal data is stored (database records, backups, logs, analytics, third-party services), deleting or anonymizing the data in each location, and maintaining an audit trail of the deletion request itself without retaining the deleted personal data.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

Personally Identifiable Information in Logs: A Cleanup Playbook

PII (personally identifiable information) in application logs refers to personal data about users or customers that is captured in log entries, including names, email addresses, phone numbers, IP addresses, location data, payment information, and behavioral data that can identify individuals. Logging PII creates compliance obligations under GDPR, CCPA, and other privacy regulations, expands the data subject rights obligations (right to erasure, right of access), and creates security risk if log storage is compromised. Minimizing PII in logs requires auditing existing log content and implementing filtering in the log pipeline.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

Penetration Testing for Startups: Cost, Scope, and Cadence

A penetration test (pentest) is a structured security assessment where security professionals attempt to exploit vulnerabilities in a system using the same techniques an attacker would use, within a defined scope and with explicit authorization. For SaaS startups, penetration tests are typically conducted annually or before significant security certifications (SOC 2, ISO 27001) and provide an attacker's perspective on the application's security posture that automated scanning and code review cannot fully replicate.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

PCI DSS for SaaS Touching Payments: Patterns to Avoid the Trap

PCI DSS (Payment Card Industry Data Security Standard) is a set of security requirements for organizations that process, transmit, or store payment card data. Compliance scope is determined by the cardholder data environment (CDE): the systems and people who can access cardholder data. The most effective PCI DSS strategy for SaaS products is reducing the CDE to zero by using payment processor tokenization so that card data never touches the application's infrastructure.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

Passkeys for SaaS: The Migration Plan

Passkeys are cryptographic credentials that replace passwords for authentication. Each passkey consists of a public key stored on the server and a private key stored on the user's device. Authentication proves possession of the private key using device biometrics or PIN, without transmitting the private key or any shared secret. Passkeys resist phishing because they are bound to the origin (domain) they were created for and cannot be used on lookalike sites. They are part of the WebAuthn (FIDO2) standard.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

OWASP Top Ten for SaaS in 2026

The OWASP Top Ten is a periodically updated list of the ten most critical web application security risks, maintained by the Open Web Application Security Project. Each item represents a category of vulnerability that is both common and impactful. For SaaS products in 2026, the relevant categories include broken access control, cryptographic failures, injection attacks, insecure design, security misconfigurations, and three others that have increased in relevance due to the adoption of APIs, microservices, and AI features.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

Multi Factor Authentication: WebAuthn, TOTP, and Beyond

Multi factor authentication (MFA) requires users to provide two or more types of evidence before accessing an account: something they know (password), something they have (a device generating a code), and something they are (biometrics). TOTP (Time based One Time Passwords) is the most widely deployed second factor. WebAuthn is the modern standard that replaces TOTP with phishing resistant, hardware backed authentication. Passkeys implement WebAuthn for consumer friendly use. Each has different phishing resistance, implementation complexity, and user friction tradeoffs.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

Logging Customer Data: The Privacy Mistakes That Get You Sued

Customer data in application logs is a privacy liability that most engineering teams create accidentally rather than deliberately. Personally identifiable information logged for debugging purposes stays in log storage systems indefinitely, is accessible to everyone with log access, and creates data retention violations under GDPR, CCPA, and similar regulations. The fix is a logging hygiene policy enforced at the instrumentation level, not at the storage level.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

JWT Best Practices in 2026: What Has Changed

JSON Web Tokens (JWTs) are a compact format, safe for use in URLs, for representing claims between two parties. In SaaS authentication, they are used primarily as access tokens and session tokens. The best practices around algorithm selection, token lifetime, key rotation, and revocation have evolved significantly since JWTs became widespread, and many production systems are still running on outdated patterns that create exploitable vulnerabilities.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

ISO 27001 for Engineering Founders: A Practical Reading

ISO 27001 is the international standard for information security management systems. It defines a framework for identifying information security risks and implementing controls to manage them. Certification means an accredited third party auditor has verified that your security management system meets the standard's requirements. For SaaS companies, ISO 27001 is the compliance credential that opens European enterprise sales and provides a structured framework for building security practices that scale.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

Insecure Direct Object References: The Bug Founders Underestimate

An Insecure Direct Object Reference (IDOR) is a vulnerability where an application exposes internal object identifiers in URLs or API requests without verifying that the requesting user has permission to access the referenced object. The result is that any user can access any other user's data by guessing or enumerating the identifier. IDOR vulnerabilities are consistently in the OWASP Top 10 and are among the most commonly reported in bug bounty programs.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

Incident Response for Startups: A Playbook

Incident response for a startup is a documented, practiced process for detecting, communicating about, and resolving service disruptions in a way that minimizes customer impact and preserves trust. The goal is not to prevent all incidents. It is to handle them in a way that customers and prospects find credible and that the team finds manageable.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

How to Sell to Enterprise Without a Full Compliance Stack

Selling to enterprise without a full compliance stack means earning trust through operational security, transparent communication, and the specific controls that the buyer's security team will actually check in the first conversation. Most early stage SaaS companies that win enterprise deals do not have a complete compliance posture. They have the right twelve controls and a credible roadmap for the rest.

May 22, 2026 · 6 min read
Security, Auth, and Compliance

HIPAA Compliance for Health SaaS: The Real Engineering Lift

HIPAA compliance for a health SaaS is the engineering and operational work required to handle protected health information legally and safely. The Business Associate Agreement with healthcare customers is the formal commitment. The engineering work supports the commitment. Encryption, audit logging, access controls, breach handling, and vendor management are the surfaces. The work is real but bounded. Most health SaaS can reach HIPAA readiness in three to six months.

May 21, 2026 · 13 min read
Security, Auth, and Compliance

GDPR for SaaS Builders: What You Must Have on Day One

GDPR is the EU regulation that governs personal data of EU residents. Any SaaS with EU users has to comply regardless of where the company is based. The minimum is concrete. A privacy policy. A lawful basis for processing. Data subject rights implementation. A data processing agreement. A vendor inventory. A breach notification process. Each is small. The retrofit if you skipped it is a quarter of work.

May 21, 2026 · 12 min read
Security, Auth, and Compliance

Encryption at Rest vs in Transit: What Customers Will Ask

Encryption at rest protects data stored on disk from being read if the storage is compromised. Encryption in transit protects data being moved across the network from being read if the connection is intercepted. Both are now table stakes for B2B SaaS in 2026. The implementations are straightforward. The teams that have not implemented either are usually the teams that have not been through an enterprise security review yet.

May 21, 2026 · 11 min read