Add restricted_paths option to restrict files

The option of restricting/executing individual files is useful when needing to prevent PHP script execution of files uploaded via a web interface.