hello guys i m using aws cloud server recently my project got compromise so i deleted my whole instance and creating new instance in aws cloud on window server and uploading backup file which is hack free(i.e no extra line of code in delivered folder ) now how i can assign read,write,execute permission to each and every file of project folder i.e i don;t have much ideas about permission.
The important thing about storing files is that you don't store them in the public directory. You can access all files in the public directory. That's also the reason why the .env file is not in the public directory but a directory above there!