Anki Decks Encryption to avoid unauthorized sharing

Is there anyway to encrypt anki decks so that I can limit who they are being shared to?

I am trying to renovate the learning experience in med school for students who are facing difficulty learning the immense amount of material required. In doing so, I am forming a small bandit of card creators in exchange for a (rather nominal) monetary compensation so that people would be more passionate in their work as this is something that is really important to me.

Anyway, the main issue I am faced with is how am I supposed to control the anki decks sharing? I found an anki add-on (AnkiDeckVault https://ankiweb.net/shared/info/1323335830) that can encrypt the links containing the decks; However it does not prevent such user from later exporting the deck and sharing it with others…So is there a way to control this part?

Thank you for reaching out! Our moderators have been notified and will assist you shortly. In the meantime, you can get an instant response from me simply by @ mentioning my username`. Alternatively, start a private conversation with me (see screenshot below). If you ask me a question, I will do my best to respond using only verified information found in the official AnkiHub docs and the Anki manual.

You can also find answers to common questions in our FAQ and Docs.

To the best of my knowledge, no.

In part because Anki is open-source and decks, once imported, can be freely exported and shared there is no functional way to encrypt them (to the best of my knowledge).

At the very least, others have had, or shared, this idea before but by all indications there’s no evidence of it having been done.

If anki is open source, doesn’t this mean that its code can be modified or rather incorporated into a similar application with the desired modifications?

Won’t it be possible then to simply remove the “export” feature in anki?

If you have the ability to rewrite the program, I imagine you can do whatever you’d like

Assuming the decks are of the same, or similar, format though there would be little to prevent someone from just…using Anki. Or converting them to .csv, or a dozen other routes to skirt such restrictions.

Yes, you can modify Anki, but any modifications has to be open-source too due to the license, which makes it hard to prevent sharing decks.

Any idea as to how much it would cost for a developer to take on a project like this?

No idea about the cost, but I did some research about this years ago and I think it requires at least 30 hours of work, with no guaranteed solution.