Answer the question
In order to leave comments, you need to log in
How to safely deploy a php application?
Here you have written a cool project that brings money (so far only a script, but 100% will bring money).
When deploying an application, you are so-so, so you start to google install php fpm ubuntu
ubuntu - this is on vpsk in DO
using git, clone the turnip
, change the config in Nginx and everything works.
The project is getting a lot of traffic. After a couple of weeks, look at the logs and there are smart school coolers and not only trying to break your scripts. Fill shell. Try sql injection, upload a file like that.
There is a fear that the script will be stolen and published in the public XXX NULLED SCRIPT BY (%**(#%&%(* or another title DRAIN OF THE PROJECT SCRIPT XXXXXX.
project on yii and built-in validation is actively used.
How to 100% protect yourself from this?
What rights are needed?
In which directory is it desirable to push the scripts?
What user to run nginx / php-fpm as?
How to protect yourself if the user still uploaded a shell to / public ?
Do you deploy prod?
Answer the question
In order to leave comments, you need to log in
How to 100% protect yourself from this?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question