How can I protect a specific folder in my server from accidentally deleting it?
<p>I have a pretty general question. </p>

<p>I have a CMS website in my apache server. How can I protect a folder (say for example "my_uploads")? I want to protect it in a way that even with PHP commands, one could not delete it. But on the same time I want to be able to add files to this folder. I also want to be able to delete its contents, but not the folder itself. Is this possible? </p>

<p>Thanks a lot</p>
