To prevent hacking, an user for each website?

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

you should check this out

1 Like

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,

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

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 !