Is it possible to have a global htaccess file?

Im looking at way to Protect ALL wordpress websites under say user XYZ
Rather than editing each htaccces file, I’m looking at one htaccess for all where I can put my restrictions.

@sahsanu ? You have a clue where I can place that htaccess file?

What do I want to achieve?
Sites security. Dissallow logins, SQL injections, block IPS, block access to certain files, and all.

I should say make an Nginx configuration template to project some urls and blocking IPS is better to do it by the firewall instead of a .htaccess file or nginx config in my opinion.

I agree with you. Only that, I’m not sure what to add in the the Template exactly.
Lets say I want to dissallow wp-admin login attempts … Untill the user first keys in the authentications. Password protect
Here is what I wanted to achieve::
ErrorDocument 401 “Denied”
ErrorDocument 403 “Denied”

<FilesMatch “wp-login.php”=””>
AuthType Basic
AuthName “Secure Area”
AuthUserFile “/home/example/.htpasswds/public_html/wp-admin/passwd”
require valid-user

AuthType Basic
AuthName “Secure Area”
AuthUserFile “/home/example/.htpasswds/root-directory/wp-admin/passwd”
require valid-user

Order allow,deny Allow from all Satisfy any