URGENT REQUEST FOR CODE HELP
HI all
can anyone give me the code (java application or applet)
preferably(appln) which implements password provision
for folders in system.
i.e when i click on a folder it should ask for password
and when authenticated access is allowed.
please help
email: shri_gururaya@hotmail.com
thanks
belur
[365 byte] By [
swaroopba] at [2007-9-26 2:17:31]

That isn't possible.
A java application or applet has to be run by something.
When you click on a folder it is part of the system, and has nothing to do with java.
At the very least you would need the following:
-Some way to hook into the system to intercept folder requests. This is going to require JNI
-Some way to install the application.
-Some where to install the application (like as a driver or service) which might require another wrapper for java to do it.
In addition there are other problems. For instance what happens to your app if I simply circumvent the gui. That can be done in windows and unix. Does it need to protect the folders then? If so the app will probably have to hook in a much more deeply than with the GUI solution.