Access Control for Generate Id