I have setup raspberry pi to autostart chrome in kiosk mode when it boots up and open a locally hosted web application successfully. The web application will require keyboard and mouse for the user to interact with it.
My problem is if I give the user keyboard/mouse access, he'll be free to close the Chromium application using ALT+F4 and start using the raspberry as he wishes.
Is it possible that I can program any script or something that if the user tries to close the chromium application, a login screen should appear. Only after entering the correct login credentials should the user be authorized to close the application and use the raspbian as Desktop?
OR
The user should not be allowed to close the chromium browser at all. So if I wish to change anything in it, I can SSH into it for backend maintenence etc.
Any help or suggestion will be very appreciated.