Protect access to views.