jawaff / KinectController

Control your computer using your body. The KinectController turns the Kinect into a controller that allows configurable actions to be emulated when configurable gestures are triggered by the user.
0 stars 0 forks source link

Verify checksum of all the dependencies that exist on the disk. This primarily includes the OpenNi and Nite dlls. #13

Open jawaff opened 8 years ago

jawaff commented 8 years ago

Any jar associated with OpenNi and Nite should also be packaged into the main KinectController.jar also. The goal is to make the program secure so that people can't replace our library files with something malicious!

jawaff commented 8 years ago

Another option besides checking the checksums is to package the dlls into the jar and unload them when the project is ran. This would add to the initial startup time of the program though. We don't even need to go this route as long as we verify that the dlls are trusted (by checking their checksum.) The installer can take care of placing the dlls correctly on the user's computer also, so installation won't be a problem either.

jawaff commented 8 years ago

Dlls cannot be loaded from within the jar. I've already checked this and that's why I've been suggesting solutions that assume the dlls are somewhere on the hard drive.