Home > OS >  Is there any way to limit a file can only be read the users to run a process, don't allow the u
Is there any way to limit a file can only be read the users to run a process, don't allow the u

Time:09-28

On a server with user needs through a database query tool, to connect to a database, the tool's database connection Settings are written in a configuration file,
Now hope that the users will be able to use this tool, need the tool to read configuration files, but does not want the user to oneself can have a check the file permissions, avoid the user know the password,
Is there a way to achieve this, with what method can, as long as described above can be achieved,

CodePudding user response:

This should be no way,
If the tool has the source code, or change the source code,

CodePudding user response:

1. Throw the files to the Windows directory, and do simple hidden processing;
2. The file encryption;
3. Global hooks createfile and filtering.

P.s. Words can first you have to modify the tools

CodePudding user response:

P.s. Words can first you have to modify the tools
  • Related