Detailed access control and user management by reverse proxy - it works

Thank you for your useful solution. I am new on OH I am really want to have this security and filtering of user..
Can you please tell me where I have to save the script and what name? (does need shortcut like.sh?)