Enigma

SG-1 rescues a group of survivors from a dying planet, but finds that it must deal with its own people when military intelligence wants access to their advanced technology.