While implementing XML file reading/writing in my application I saw that when I call XElement.Save("myfile.xml") it will overwrite an existing file.
Is this behavior default for all methods that Save files in C#/ASP.NET or does it depend on the permissions given to ASP.NET?
If my app will be deployed by different people on different hosting setups, what factors should I take into consideration for the possible limitations (if any) that can be placed on my app when reading/writing files?
Will a certain server setup only allow me to overwrite existing files when I delete the old one?
When saving files that will be used later by my application, is App_Data the safest folder to save them in?