What are the security risks by embedding the Python in C++ application, if any.
-
I'm going to embedd the Python in my MFC/C++ application(interactive Python console) and extend the Python with the application's API. Since any script can be malformed, what are the risks in this particular case? Is there any technics to protect the main C++ application? Would appreciate the feedback from programmers who was experienced this kind of scenario, and also the security experts. Thanks.
-
I'm going to embedd the Python in my MFC/C++ application(interactive Python console) and extend the Python with the application's API. Since any script can be malformed, what are the risks in this particular case? Is there any technics to protect the main C++ application? Would appreciate the feedback from programmers who was experienced this kind of scenario, and also the security experts. Thanks.
Immense, but not because of Python, but that you are adding scripting to your app, opening up a lot of vectors for software with bad intent and plain bad software.