How to set a password for workspaces?

Is it possible to set a password for workspaces?Such that if i switch from one workspace to another it should prompt for password.


Solution 1:

I don't believe this is possible with current window managers. Your best bet (if you use compiz) would be to write a compiz plugin, but I can't think of any other straight forward solutions.