Allow users of specific organization to access the application [using actions]

I want my application to be open accessible for users of specific organizations and to do a sound pop up alert if a personal / outer organization Google Accounts try to access the application