Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Updating security

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Updating security

    Hi Ninjas,

    This is a subject that I've talked about before, and still I'm a little developer, BUT, reading about how to protect your code, is well known that procedures such as obfuscation, DLL ..etc are quite limited cause are easily to be reversed. However I read often that a partial solution is coding in C++ the sensitive parts, cause they said that C++ is actually hard to decompile, so:

    - Is it worth to code in C++ for extra security?

    - Is this possible to write in C++ within NinjaTrader software?

    Thanks

    #2
    Hello pstrusi,

    This would be outside of the realm of NinjaTrader Support.

    But to tip you in the right direction, I think you need an unmanaged function in a dll (this does not require a reference).
    https://msdn.microsoft.com/en-us/lib...68(VS.71).aspx

    The cliSecure that you can add to your scripts encrypts your code and does a good job at preventing de-obfuscation but isn't perfect.

    However, the newest version Agile.Net has not been cracked that I know of (and is way way more difficult to crack). This will be used for NinjaTrader 8. So if you think Agile.Net will be a solution, the effort to hide your code in C++ may not be worth it. Its up you.

    See more information on Agile.NET from the Enhancements link below -


    This thread is open for any community members that would like to contribute.
    Last edited by NinjaTrader_ChelseaB; 04-22-2015, 09:49 AM.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Chelsea, I appreciated a lot your time and effort to give me this answer, very helpful indeed.

      By the way, I have 2 questions whenever you can:

      - Is there a date for the release of NT8 ?

      - Talking about security, I've recently posted this question, in your expertise what do you think?


      Thanks a lot

      Comment


        #4
        Hi pstrusi,

        Our CEO Ray has posted on another forum that we expect the first NinjaTrader 8 Beta to be released near the end of April.

        NinjaTrader_AlexG is correct in his post from your link.

        The actual files reside on your local computer. When the licensing check is done, there is a line of code in the actual indicator that triggers NinjaTrader to check a licensing server.

        The only information collected is your machine ID, and indicator module name which is used to check your license availability.

        The actual code does not leave your physical machine and NinjaTrader does not have access to any script code on your machine.

        If you choose to share your scripts we do not have control over this and this is your choice. If you are wanting to share and sell your scripts, then definitely add some layer of encryption.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        60 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        39 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        19 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        21 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        51 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X