When you need to create a login page using PHP and MySQL, the safety of this login page relies on
- Your PHP scripting abilities
- How well and securely has PHP been programmed in C++.
- How well C++ compiler of interpreter of PHP has been programmed.
- How well and securely has MySQL been programmed.
- How well and securely has interpreter of SQL been programmed.
- The safety of libraries on machine that Apache/MySQL rely on.
- The safety of integrity of machine (operating system).
When you need to create a C# console application, the safety of this application relies on
- Your C# programming abilities
- How well and securely C# .NET compiler has been programmed.
- The safety of libraries on machine.
- The safety of integrity of machine (operating system).
Those were all examples, maybe list is not full, or something isn't supposed to be there, but this is just to give you concept and show you my point of view. Now comes the question:
When you need to create a C++ console application, the safety of this application relies on:
- Your C++ programming abilities
- How well and securely C++ compiler has been programmed.
- The safety of integrity of machine (not, because C++ is translated to Assembly and isn't a code that needs to be interpreted by another interpreter).
- The safety of libraries on machine (very often not, if you use standard C++ libraries which have been heavily checked for any bugs, or you write ones of your own)
Now the question: About which security layers should I be worried about while programming? Is there something that should be added or removed, to or from the list above of C++? Or maybe I'm wrong. Could someone explain me a bit more? Is there anything I should be worried about? Or is the safety of compiler and my programming skills (I have none, but I try my best) everything to assure my program safety? I know that time goes on and the holes in software are found more frequently. But is the safety of compiler and good programming, enough for now? For like, 6 months?