Authorization and wirte permission