Permission & Hacked.

Where's the permission management? Like, giving permission for user to delete post, or edit post, etc?
And. I got hacked yesterday, I am wondering what's way to prevent a hacker?
And. I got hacked yesterday, I am wondering what's way to prevent a hacker?