hi. I have an online examination scenario in which the clients should not be allowed to open another brwoser to search any other sites. how do i do this. Is it feasible? i have an option for running applets to detect it on client side.the applet of same size as browser size.but i am runnin short of ideas to implement it technically.wanting for help badly well i am working in jsf.. thanks
Even if the applet were signed -so that you could use native code to detect what processes are running on the client- that would not be a sure way to detect other browser instances (which could be named anything). It would also be tricky to detect multiple windows/tabs within the same process. Also, if this is in a distance learning situation, how would you stop someone from using two computers? My advice would be to drop this requirement, and rethink the situation.
Moving to the Servlets Forum, since there's nothing JSF can do to help with this.
hi thanks... i know it cant be solved completely.. i wanted it to solve it partially atleast... forget about using two computers..its out of scope. atleast partial satisfing of the requirement should be done
i need help for it to be solved partiallly not completely.
Joined: Oct 29, 2008
atleast preventing user from clicking on Internet explorer or firefox icon or start button... something like that will partially solve. can you help on how do i use applets to that. it cant be solved completely
There's nothing in the Java class libraries to do this kind of thing; you will need to use JNI to access native code. But even then: how would you know that a browser is being accessed? There's nothing stopping me from renaming firefox.exe to notepad.exe and starting that.
What I meant by "rethink the situation" was really: Think about alternative approaches to this exam that do not require you to essentially control the client computer. If the exam questions are of a nature that their answer can be looked up on the internet quickly, then what value does such an exam have?
I think, if you have control on the systems.. ie If they belong to some center which you have control on. Then you can think of having "Kiosk Mode Engine" installed.
A Kiosk mode engine is nothing but a piece of software which runs only a designated application(s).
search for various kiosk engines for your OS. Any wayz I dont think you cannot do that in Java without help of any native code.
If you have seen some banks, which have systems for customers, These are called kiosks by which you can only access that bank's websites only.
If you dont have/own/control those systems then you can forget about this scenerio.
Joined: Oct 29, 2008
hi thanks for your replies. well talking about renaming the exe is a next level... but i want to satisfy it partially... something is better than nothing concept... all those scenarios you explain me are valid but thats next level.. i want to solve the starter level atleast..i need help for that...waiting for the reply thanks
well talking about kiosk ..yes thanks..i have that kind of proctor exams too... so it ll be usefull... any further informations about that software on how to use...
You can't satisfy that requirement, fully, partially, or otherwise. Web applications can not and should never be able to exert this type of control over a user's browser or desktop.
If the client machines are to be in a testing center, the way to handle this is to put them on a sub net that only has access to the test server (no other internet access). If this is to be used for testing from home, the approach usually taken is to set time limits so that people who don't already know the answers won't have time to go searching for them. [ November 21, 2008: Message edited by: Ben Souther ]