I dont really know how to explain it, but I will do the best that I can.
There should be some way to select....hmmm I really dont know how to explain it.
There should be some way to allow certain files to be edited and others not to be edited. What I mean is actually, once you go to compile, you should be able to select from the list of files which can be edited and which cannot...think of it like CHMOD except for files. Instead of user-groups you could make a password for each different edit option.
For instance. I compile a game, and give it to a coder to help out, I dont want him to edit certain files so I de-select the edit option by those files. That way the coder could still compile the files, but wouldnt be able to edit certain game systems.
This is just a thought, and I dont know if I did a great job explaining it, but I though I would give it a chance.
-SnipeDragon
PS - If I think of a better way to explain it, I will, if you have any questions please reply back here and I will try my best to answer them.