Open jawaff opened 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.
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.
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!