I am writing a small CMS, settings and some data are stored in XML files. I would like to close these files from unauthorized visitors (authorized scripts and so they will get).
So far, the solution is: The site.ru \ admin \ storage directory has been created with deny from all
in .htaccess. Is this enough to protect data from common attacks?
Store data above the root does not work (