I’m currently building a website, using PHP, and looking into securing the website fully. Currently, and in the future, I don’t plan on using SQL, or even user-submitted input anywhere on the website – the PHP pages are basically simply in place for ease in piecing together several different HTML fragments to create a full page, using requires.
What type of vulnerabilities, if any, should I be aware of to protect against?
I’m currently building a website, using PHP, and looking into securing the website fully.
Share
There are no vulnerabilities in the situation you’ve outlined.
If you are using any query string variables to load pages, they may need to be secured. For example: article.php?page=php-page-security.
Otherwise just make sure that your server software is updated regularly to the latest versions, and access to the web server is properly secured. It sounds like your code is pretty basic and you aren’t doing any processing in PHP, so you should be fine.