secured access and flush