Authentification request

Hello everyone and happy new year…
I have a question about .htaccess, what is alternative of nginx auth_request in .htaccess?

What do you want to achieve exactly?

If user is authorized than he can access file directly if not server must show 401 error ! , i think im talking about reverse proxy…

You’re probably looking for .htaccess realm?