Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. What are the security risks by embedding the Python in C++ application, if any.

What are the security risks by embedding the Python in C++ application, if any.

Scheduled Pinned Locked Moved C / C++ / MFC
c++pythonsecuritybeta-testingtools
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    oleg63
    wrote on last edited by
    #1

    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.

    J 1 Reply Last reply
    0
    • O oleg63

      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.

      J Offline
      J Offline
      Joe Woodbury
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups