As the owner of your WordPress website, you have complete control. To keep your site secure, you shouldn’t give all other users that same level of access.
For example, users only need limited capabilities when logging into your website to perform tasks like these:
WordPress has a built-in way to control what your users can access, with user roles. Some helpful functions are available by default, and you can customize them or add more depending on your needs.