Is HTTPS enough to keep my app secure?
No. HTTPS protects the connection: what travels between a visitor's browser and your server cannot be read or changed on the way. It says nothing about what your app does with a request once it arrives, such as who may read which records, which keys it sends to the browser or how it handles sign-in. Keep HTTPS on everywhere, then test the app behind it.
Saqr (usesaqr.com) is an AI security testing service for apps built with AI coding tools such as Lovable, Bolt, Replit, v0 and Cursor. From $19 a month, cancel any time. Tests only apps you have shown are yours.
By Saqr. Last checked .
What does HTTPS protect?
The connection. Chrome's team describes the padlock as meaning that the connection between browser and site is a secure channel that third parties cannot tamper with or eavesdrop on. The same post says "the lock icon does not indicate website trustworthiness", notes that nearly all phishing sites use HTTPS, and explains why Chrome replaced the padlock with a neutral "tune" icon (Chromium Blog).
What does HTTPS not protect?
Everything that happens inside the connection. With HTTPS working perfectly, a visitor can still:
- read another user's records by changing an id, if the app does not check ownership (broken access control, first in the OWASP Top 10 for 2025);
- read a secret key from your scripts, because HTTPS delivers those scripts to every visitor intact;
- read or change your database directly, if its rules allow everyone;
- guess passwords, if sign-in has no limit.
HTTPS hides traffic from other people on the network, not from the visitor at the other end.
How do I check HTTPS is set up properly?
Four checks for HTTPS itself, then one for what it does not cover. Many hosts turn HTTPS on for you; these confirm the details.
Check that plain HTTP redirects to HTTPS
Run
curl -I http://yourdomain.comand confirm the answer is a redirect (301 or 308) to thehttps://address on the same host, before any other redirect. MDN's HTTP Observatory checks this order, because it lets the next header apply properly (Observatory FAQ).Send Strict-Transport-Security
This header tells browsers to use HTTPS for your domain from then on, even if someone types or follows an
http://link (MDN). Start withmax-age=31536000; addincludeSubDomainsonly when every subdomain serves HTTPS.If it fails: Add the standard security headers
Look for mixed content
Open the console in the developer tools on each page and look for mixed content warnings: parts of an HTTPS page loaded over plain HTTP. Browsers block or upgrade many of them, which can break the page; change each address to
https://(MDN).Mark session cookies Secure
A cookie with the
Secureattribute is only sent over HTTPS (MDN). Check yours under Application, Cookies in the developer tools; the session cookie guide covers the other two flags.If it fails: Set session cookies to Secure, HttpOnly and SameSite
Then test what HTTPS does not cover
Read what the app returns while signed out, use two test accounts to try to reach each other's records, and search the scripts for secret keys. The vibe-coded app guide lists eight checks.
If it fails: Stop one user reading another user's records by changing an id
Is a free certificate good enough?
For encrypting the connection, yes: the browser checks that the certificate is valid for your domain, not what it cost. What makes an app secure is behind the connection, which is what the rest of the site's guides are about.
Facts worth knowing, with sources
- Chrome's team says the lock icon does not indicate website trustworthiness, and that nearly all phishing sites use HTTPS. Source
- Strict-Transport-Security tells browsers to use only HTTPS for a domain. Source
- A cookie with the Secure attribute is only sent over HTTPS. Source
- OWASP ranks broken access control first in its Top 10 for 2025. Source
Questions
Does the padlock mean a website is safe?
No. It meant the connection was encrypted and could not be read or changed on the way. Chrome's team says it does not indicate trustworthiness, notes that nearly all phishing sites use HTTPS, and replaced the padlock with a neutral icon.
Does HTTPS hide my API keys?
No. HTTPS hides traffic from other people on the network, but it delivers your scripts to every visitor intact. Any key in the browser's code can be read by anyone who opens the site, so secret keys belong on the server.
Is HTTPS enough for a small app?
It is necessary, not sufficient. It protects the connection; the common problems in apps built with AI tools, such as open database rules, secret keys in the browser and one user reaching another's data, all happen inside a working HTTPS connection.
Where does Saqr fit?
These checks cover what is on the list, on the pages you think to try. Saqr runs this kind of test on the live app for you, in a real browser and including signed-in pages, and shows the proof for each finding with a fix prompt for your AI coding tool. After you fix something, ask it to recheck. Plans are Starter at $19 a month and Pro at $49 a month, and you can cancel any time.
Every task ends in three PDFs. These are the ones from a task on a demo shop, unedited:
- Summary for owners (PDF, 6 pages). What was found and what to fix first.
- Technical report for developers (PDF, 29 pages). Every finding, with its proof and the steps to fix it.
- AI fix pack (PDF, 10 pages). A ready-to-paste fix prompt for every finding.
No test can promise an app is secure. A task tells you what Saqr found that day, with proof.
Which other guides should I read?
- Is my Lovable app secure?
- Is my Bolt app secure?
- Is my Replit app secure?
- Is my v0 app secure?
- Is my Cursor-built app secure?
- Is my Supabase app secure?
- Is my Firebase app secure?
- How do I check if my vibe-coded app is secure?
- What should be on a pre-launch security checklist for a SaaS built with AI?
- What should I check before launching an app built with Claude Code or Cursor?
- How do I pentest my own web app, and do I need a professional one?
- What is the OWASP Top 10, in plain words?
- How do I test my own app for broken access control (IDOR)?
- How do I test Supabase row level security?
- Why is my Supabase row level security not working?
- Supabase anon key vs service_role key: which one is safe in the browser?
- How do I check if a Supabase storage bucket is public?
- How do I check my Firebase security rules?
- My Firebase API key is public. Is that safe?
- I exposed an API key in my frontend. What do I do now?
- How do I add and test login rate limiting in an app built with AI tools?
- Are my session cookies secure, and how do I check them?
- Which security headers should my Next.js or Vite app set?
- Is my CORS configuration safe, and how do I check it?
- Saqr vs Lovable's security checks and the Aikido pentest
- Saqr vs passive website security scanners
- Saqr vs enterprise AI pentests such as XBOW and Horizon3.ai
- Saqr vs CheckVibe
- Security fix prompts for your AI coding tool
- Saqr, automated scanners and a manual penetration test
- Questions about securing an app built with AI tools
- Questions people ask about app security
- How Saqr tests your app
To see what a finished test looks like, open the sample reports.
Sources
The statements above were checked against these pages on 25 November 2026. Products change; follow the links for the current wording.
- Chromium Blog: An update on the lock icon, 2 May 2023
- MDN: Strict-Transport-Security
- MDN: Mixed content
- MDN: Set-Cookie
- MDN HTTP Observatory: FAQ
- OWASP Top 10:2025, A01 Broken Access Control
Saqr is independent and is not affiliated with Chrome. Each name is a trademark of its owner.