It's not considered good practice to embed large files within a database. Your database will grow to unmanageable sizes quickly. Rather, simply store a link to the file in the database and keep the files in a central location (such as a reliable server).
Paul, your solution is quite good. But if user want the file more security, what they should do. I think why they want to store the file or data into database, because they want the file and data in security. So maybe there is another better solution for the security.
Regards
Qia
http://www.vitst.com Virry Test & Control LabVIEW Certified Developer