My question is ,Is there any java api which will create password protected xls file instead of zip file. I want to directly apply password on xls file.Encryption/Decryption is the option but want to prompt when when double clicked on file.
Did you check out the org.apache.poi.poifs.crypt package? There's not much in the JavaDocs but you might look around for examples. Just a thought it would be worth looking into before you dismiss what Ulf said just like that.