From the course: CompTIA Security+ (SY0-701) Cert Prep

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Application security

Application security

(light music) - When considering the security of our applications, it's important that we consider the ways that our applications can be attacked. In this section, called application security, we're going to be looking at some ways that various software attacks can be leveraged against our applications, and ways that we can protect against that. And so the first topic we're going to look at is input validation. Input validation is where we go through, and if we're expecting a certain number to be entered into a field, we're only allowing numbers and we're only allowing a certain range of numbers, a valid range of numbers. So if we have a web application we like, how many widgets do you want to buy? If we're expecting the user to enter two, we're only going to allow the digit 2 to be entered in there. We're not going to have T-W-O allowed in there. We're not going to allow someone to submit an image in there or type out some potentially malicious code for like a cross-site scripting…

Contents