How to upload to third-party web server files to a folder with permissions 777?

The crux of the matter is that I have a server and in a folder with permissions 777 across the files(any g**no) the Site is made in opencart cms v1.5 . So I would like to learn in detail how all this happens are the following: 1)something 2)something, etc., i.e. to know how to protect it you need to know as it happens!
July 9th 19 at 13:31
2 answers
July 9th 19 at 13:33
Answer.
1) something something
2), then a, etc.
When there will be specific questions - will appear and specific answers.
Meantime, read about the CMOD to 777, etc.:
ktonanovenkogo.ru/vokrug-da-okolo/optimalnye-prava...
July 9th 19 at 13:35
do I understand correctly that the question is how zpretit and Sundry to fill in the files in the folder 777 rights ?
answer:
1. to put other rights
2. ban pour into this folder ... it's not very clear through th flood but in General the power to prevent a demon to work with the folder.
3. most likely you mean that you constantly fill it with viruses ? it is quite another question ;)
4. Deny exec
Yes indeed a million lizards you ask a question.
Yes, you understand correctly! The problem is that I have filled different files already in the folder with 777 rights and change of law is not an option! - Maya.Mann commented on July 9th 19 at 13:38
: You understand that the web server is running from 1 user and not from 3? and at least an extra two can be removed.
2. If you are fasting, pour virusnyak you need.
1. if the site is in php
what mod php?
what version of php
how many sites on your server and attack them all or just one? in fact it will be seen with mod PHP
if you don't know what it is then choose from the words mod_php FastCGI CGI PHP-FPM.
Moreover, why is 777 on the entire site?
Is there a need site users to upload files to the site? Is there a possibility to ban them altogether?
Checked you ai-bolit.php ?
che says? - Lavern_Schuppe commented on July 9th 19 at 13:41
also change all access from ssh to ftp, check your computer for viruses - Lavern_Schuppe commented on July 9th 19 at 13:44
: Access rights not all folders are ,and only one! Everything else I know I need to put limits, etc. but would like to know how it all happens (hacking and downloading of files )to add more rigorous safety! - Maya.Mann commented on July 9th 19 at 13:47
: types of hacking so many that just you nobody will tell, it vseravno how to sprositi how people compose music. in essence the question is normal, but to explain to you no one can, too broad topic.
All I can recommend is to protect themselves, for that answer turns on matters that have written before, the kind of answer we'll talk about the possibilities of hacking. And then we can go to the specifics - Lavern_Schuppe commented on July 9th 19 at 13:50

Find more questions by tags OpenCartApachePHP