Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

How to Make extension protective

Posted on by Microsoft Employee

Hi Navsion experts.

We are making our addon solution in Navision by using objects range(Given to us by Microsoft). also we are creating extension to deliver our solution to the customers, we need to make it secure or protective so that limited users(or assinged users) can access our solution.

Also if some body have demo license that user also can access our addon solution and we don't want that, we want to make secure our extension protective.

Kindly suggest for the same.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to Make extension protective

    Thanks for your reply Stefano,

    Could you explain us that how to use Codeunit Permission Manager (9002) to check the user, i mean how to implement it.?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to Make extension protective

    Hi Mohana,

    Thanks for your reply.

    I want to know that how my addon solution is getting publish on demo license machine, i want to protect my solution, it should not publish with demo license.

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: How to Make extension protective

    I guess demo license wont have access to your no. series objects so they wont be able to access it.

    same with others also. they need to buy from you for license ( I hope you are referring to Onprem here)

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: How to Make extension protective

    Please check this

    docs.microsoft.com/.../devenv-security-settings-and-ip-protection

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: How to Make extension protective

    You can use ShowMyCode = "false" in app.json for not showing your code to others.

    Then, you could use functions in codeunit Permission Manager (9002) to check your user and maybe blocking after a period of trial time. But this is at your own choice.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans