Freelancer runs off a large collection of INI files that are compressed by default. With a tool such as BINI, you can decompress them and then edit values using a plain text editor like Notepad. Be careful, though, because changing the wrong setting can corrupt the game, so back up your files first.
For an easier tweak, look for the Freelancer.ini file in My Documents\My Games\Freelancer and find the line that reads DifficultyScale = 1.0. Change the number to 0.0 and most weapons, planets, and suns will no longer harm you. Raising the number above 1.0 makes the game more dangerous. Adjust it to suit how you want to play.