if i click on an xml file , it should ask for the pasword and once the password entered correctly, it should open the file. can any one help me how to do this programatically. Is any such API do this ?