Security Question: Overwriting Remote Files
<p>I'm writing an administrative panel and I want to store some of the information they enter into a text file for use in a script.  What I don't want is for someone to start accessing those files and changing the data.  The script can be used by any number of my clients so the files need to be secure.</p>

<p>Are files safe from a remote edit?  Is it even possible to overwrite a file remotely (such as with fwrite())?  I'm not concerned about people reading the files (data is publicly viewable), just overwriting or editing them in any way.  If they aren't safe, how can I secure them?</p>
