Page 1 of 1
No source code dll permission restrictions
Posted: Wed Oct 22, 2025 1:38 am
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?
Re: No source code dll permission restrictions
Posted: Wed Oct 22, 2025 5:22 am
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