I basically do not want certain users changing the PHP files code.
Which php code are you talking about? Themes and plugins?
If you give your users editor role, they shouldn't be able to see these sections.
Here's a description of the various roles that come with any default WordPress installation -http://codex.wordpress.org/Roles_and_Capabilities
You can also enhance this by using a plugin like Role scoper.