Skip to main content

Posts

Showing posts from December, 2015

A Developer’s Perspective OF Why SQL Injection Vulnerabilities Still Exist

 Knowing how to prevent a SQL injection vulnerability is only half the web application security battle. A multitude of factors come into play when it comes to writing secure code, many of which are out of the developers’ direct control. That’s why common vulnerabilities like SQL injection continue to plague today’s applications, and why application security testing software is so important. These problems can be overcome – with a little insight, organizations can begin to address these challenges directly and better enable developers to remediate SQL injection. Here are the top eight reasons SQL injection vulnerabilities are still rampant: SQL itself is vulnerable. SQL is designed to allow people access to information and is therefore inherently vulnerable, so every developer must know how to prevent SQL injection – not just one or two individuals on your development team. The price of agnosticism. SQL is agnostic, meaning it works across database platforms

How to fix Qt Error when adding new form

I was trying to add new form UI class form to the Qt and since I'm a newbie ( actually started today) with C++ Qt framwork at this time i got stuck when I tried to add Push button to open new Class Form. it showed this damn error several times. mainwindow.obj:-1: error: LNK2019: unresolved external symbol "public: __cdecl DialogDemo::DialogDemo(class QWidget *)" (??0DialogDemo@@QEAA@PEAVQWidget@@@Z) referenced in function "private: void __cdecl MainWindow::on_btn_cancel_clicked(void)" (?on_btn_cancel_clicked@MainWindow@@AEAAXXZ) Rebuilding and cleaning the project not worked since I've tried several ways to display that new GUI form. Solution was simple here i quote stackoverflow answer. Solution Right click on project > Clean Right click on project > Run qmake Right click on project > Build Run - worked first time Why it works The reason this worked is because Run qmake updates your Makefile. For some reason qt is not automatic