> I don't ever put a password in my source code > (except for simple examples). I always use a > properties file or something similar. > Of course, the problem remains: if your properties > file is compromised so is your password.
Actually that's exacly the point - a properties file would give the password away even easier. The point is, encrypted pdfs are generated on the user machine - and send to a server. The user and nobody in between should be able to open the pdf...only the server should be! for that he has to know the password - meaning, I need to predefine a password, which will be used for pdf encryption! But where do I store this password..? Cheers, jago _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions