From the course: Programming Foundations: Web Security
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Why security matters
From the course: Programming Foundations: Web Security
Why security matters
- Let's talk about why security is important. It's easy to set up a basic website. You write a bit of HTML, add a bit of CSS, sign up for a hosting plan, and voila, you've got a website. There aren't many security problems with a simple website. Users interact with a site by typing a URL or clicking links, and the pages they see are the same every time. Now, this could give you the impression that new features and technologies can be added to simple HTML pages just as easily. Over time, perhaps you decide to add some JavaScript, use PHP to create dynamic pages, store data in cookies, or connect to a backend database. However, it's important to recognize that as the site gains features like these, it increases in complexity and it gains new security issues. New features may introduce the ability to perform actions that you don't expect. In fact, hackers scan the internet looking for web servers that are set up by…