Store / retrieve Images in MySQL Using Delphi and Zeos
Posted: 29.07.2008, 19:31
Dear Friends,
In the past I was advised to link to images in their original file format and this has worked well so far. This however requires a network share to ba made available and as we are attempting to close all the security loopholes we would like to access images from within MySQL. Blob Fields maybe. The performance overhead is obvious but we are prepared to accept the limitations in favour of better security.
The MySQL forums give very round about methods of using streams to send vast amounts of data to store the simplest of images. Does anybody know of a simpler and more elegant solution?
Any help would be greatly appreciated.
Warmest Regards
M.
www.cad.co.za
In the past I was advised to link to images in their original file format and this has worked well so far. This however requires a network share to ba made available and as we are attempting to close all the security loopholes we would like to access images from within MySQL. Blob Fields maybe. The performance overhead is obvious but we are prepared to accept the limitations in favour of better security.
The MySQL forums give very round about methods of using streams to send vast amounts of data to store the simplest of images. Does anybody know of a simpler and more elegant solution?
Any help would be greatly appreciated.
Warmest Regards
M.
www.cad.co.za