Control access

Signed-off-by: Thynson <lanxingcan@gmail.com>
Add gitignore

Signed-off-by: Thynson <lanxingcan@gmail.com>
Implement delete attachment

Signed-off-by: Thynson <lanxingcan@gmail.com>