Security through revoking privileges – WordPress Development Stack Exchange

Question

WordPress 5.8.1

I use a shared hosting. To ensure security whenever I am not working on the site I always ask my hosting provider to set immutable attribute on files:

sudo chattr +i -R

So, files are secure.

But the database is not.

I think, maybe I could enter phpMyAdmin and revoke all the privileges from the user except “select”. Frankly speaking, maybe nobody needs those privileges when I’m nod adjusting the site: comments are done via Disqus.

Could you tell me whether this is a good idea or not?

And if yes, what commands can be executed?

0
Trts 2 months 2021-10-11T00:30:25-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse