Did you explore, restricting the access via closed user group for the particular URL? Basically you have to update the permissions to deny "anonymous" access and allow only a specific user group to access it. Please check https://experienceleague.adobe.com/docs/experience-manager-65/administering/se...