From the course: Node.js: Security
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Use secure HTTPS protocol
- [Instructor] What is the HTTPS protocol? It is basically the same Hypertext Transfer Protocol that we've been using to browse the web but secure. It allows to transfer the webpages you view in a secure manner. It means the communications between your browser and the website is encrypted. As of late, most browsers will indicate when an application or website isn't using the more secure HTTPS protocol and therefore, advises users against using your site or application. So it is strongly recommended you use it. In fact, in some cases, the browser will even prevent the site from being loaded into your browser if it isn't using HTTPS. So how do you make sure your website or application is using the secure protocol? By making sure the domain you're using has an SSL certificate. Most domain-selling entity offers SSL certificate nowadays and if yours isn't, you can get one for free from Let's Encrypt and then install it on your server. The way it works, you get the certificate from the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.