To prevent hacking, an user for each website?


#1

hello guyz,

there is a way to create a new user for each site creation instead of www-data, to prevent and isolating each website?

I don’t know if this a good idea, but If I can, it could be awesome.

and next step. link that user to sftp access for files.

looking for any tips and advice, thank you guyzzzzzz


#2

you should check this out


#3

oh I was on another url talking of sftp, but I didn’t saw that one.

you make my day, thank you so much,

best,


#4

Still, this isn’t real PHP pools; if one of your domains get hacked, the entire server will be under risk.


#5

yes, I understand your point.

I must say to prevent another user to play in another directory instead. Each directory will be for an specific user.

thx all !


#6