Build login and endpoint protection in ASP.NET Core.
Recent revisions are kept. Restoring one creates a new revision.