Spectrum Efficiency And Security In Dynamic Spectrum Sharing