dimanche 28 juin 2015

How to prevent client get processes info of server

In C# , there is a method which can get the processes info on current machine as below:

Process[] myprocess = Process.GetProcesses();

But now I am working on how to prevent using this method on client side, if this method being invoked, the server will return "no permission".

This problem is due to the concern of webshell protection. yes, I can ban the upload or provide a series of identity authentication,etc, but I am considering even all the security lines being passed, the codes still cannot work.

Aucun commentaire:

Enregistrer un commentaire