Apply changes to prevent access to unauthorized sessions