Security is a big topic, here are a few things to get you started.
Encrypting Data in Transit

One of the most critical security features, and one that is required for many modern
APIs and progressive web apps is
HTTPS, sometimes referred to as secure HTTP.
Some people mistakenly believe that the only sites that need HTTPS are sites that handle
some level of sensitive communication, like personal or financial data. But this isn't
true. Every site should be using HTTPS. HTTPS helps to prevent people from listening
in on what's crossing the wire, and helps prevent it from being tampered with while in
transit. Do you want your ISP or school to know every site you were looking at?
And if privacy and security weren't enough of a reason to protect your users, many new
browser features like service workers, the Payment Request API, and even some older
APIs like GeoLocation now require HTTPS.
Enabling HTTPS on Your Servers
Content Security Policy
Content Security Policy or CSP provides a rich set of directives that
enable granular control over the resources a page is allowed to load and
where they're loaded from.
Learn More
Prevent Mixed Content
One of the more time-consuming tasks in implementing HTTPS is finding and
fixing content that mixes both HTTPS and HTTP. Fortunately, there are tools
to help you with this.
Get Started
Feedback
Was this page helpful?
Yes
What was the best thing about this page?
It helped me complete my goal(s)
Thank you for the feedback. If you have specific ideas on how to improve this page, please
create an issue.
It had the information I needed
Thank you for the feedback. If you have specific ideas on how to improve this page, please
create an issue.
It had accurate information
Thank you for the feedback. If you have specific ideas on how to improve this page, please
create an issue.
It was easy to read
Thank you for the feedback. If you have specific ideas on how to improve this page, please
create an issue.
Something else
Thank you for the feedback. If you have specific ideas on how to improve this page, please
create an issue.
No
What was the worst thing about this page?
It didn't help me complete my goal(s)
Thank you for the feedback. If you have specific ideas on how to improve this page, please
create an issue.
It was missing information I needed
Thank you for the feedback. If you have specific ideas on how to improve this page, please
create an issue.
It had inaccurate information
Thank you for the feedback. If you have specific ideas on how to improve this page, please
create an issue.
It was hard to read
Thank you for the feedback. If you have specific ideas on how to improve this page, please
create an issue.
Something else
Thank you for the feedback. If you have specific ideas on how to improve this page, please
create an issue.