Htaccess

Error Message

Am i allowed to create an HTACCESS file with #Require all denied# in it? Or is it going to be deleted? I just need to log errors

As far as im aware both are fine in a .htaccess file