[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Making a modal window



J.Arun Mani wrote: 
> Hello,
> [I'M UNSURE WHETHER IT IS THE RIGHT PLACE TO ASK THIS QUESTION. IF NOT PLEASE GUIDE ME TO THE RIGHT PLACE]
> I'm making a project(using Python3) which opens whenever someone opens their computer (assume Linux-Debain based) and asks them some details. The user should not be allowed to use the computer without giving the details. The project is based on GTK3 and is for Debian based OS. I need help in the following-
> How can I make the application modal? That is, make sure that the user cannot access any thing in desktop without giving the details (the application is a compulsory one, thus one should not be able to close or minimise it).
> 
> I researched on this a bit and found the answers leading to Desktop Managers. But I'm stuck how to start with them. So need some help here.
> 

What degree of sophistication are you trying to guard against?

For example, if you need to guard against a six-year-old, it's
sufficient to make your program run before the window manager,
and only start a window manager if it is happy.

If you need to guard against a high-school student, you will need to
put the computer in an inaccessible room and only offer access via a
remote keyboard, mouse and screen. You'll need to disable ctrl-alt-delete
processing to prevent reboots, and ctrl-alt-Fx console
switching.

Maybe you should discuss your threat model in more depth.

-dsr-


Reply to: