Make it possible to protect only parts of an app.