Secure your flag to the halyard using snap hooks. This snap hook should be used if flying flags 8' x 12' or larger.
Check here for how to install snap hooks.