No source code dll permission restrictions

Posts related to Online Services feature of Enigma Protector
Post Reply
q3895838
Posts: 1
Joined: Wed Oct 22, 2025 1:34 am

No source code dll permission restrictions

Post by q3895838 »

I have a DLL, but I don't have its source code. I need to restrict user permissions on the DLL so that only non-administrators can use it. Can I use Enigma Protector to operate on it?
Enigma
Site Admin
Posts: 3081
Joined: Wed Aug 20, 2008 2:24 pm

Re: No source code dll permission restrictions

Post by Enigma »

Hi,

There are some possible ways to do that, but it will require development, a bit.

First of all, make sure this is native dll, because protection of single .net dll is not supported.

If it is a native dll, you can protect it as well. Enigma Protector has feature to check if the file is running under admin account, but it does not have option to check non admin. So to achieve this functionality, you need to develop protection plugin, where check if the file is running as admin, and if it is then just exit process.

Possible way how to check admin rights is described there: https://stackoverflow.com/questions/804 ... ive-rights
Post Reply