add secure write permissions