Loading

فارسی

Accent color

Background

Skip to article
Engineering

A basic web security checklist for small teams

Seven things to do before launching any site or API, without a security team.

Sara KazemiFull-stack Engineer
1 min read

This article is also available in other languagesفارسی

Security is a few simple habits applied every time. This list is written for small teams.

Never trust input

Validate all input on the server and escape output. Browser-side validation is only for user experience.

Authentication and sessions

Hash passwords with suitable algorithms, set cookies httpOnly and secure, and limit failed sign-in attempts.

Headers and HTTPS

Enforce HTTPS and add headers such as Content-Security-Policy and X-Content-Type-Options.

Dependencies and backups

Update dependencies regularly, scan for vulnerabilities and restore a backup at least once to be sure it works.

Likes and saves are currently kept in this browser only.

CommentsComing soon

We'd love to hear from you. Comments will be enabled soon.

Posting comments is not enabled yet.

The Mohtawa newsletterComing soon

Every two weeks, our best articles and lessons in your inbox.

Newsletter sign-up will be available soon.

Back to the blog