On Thu, 2007-08-02 at 07:30 +0100, schnuer.com wrote: > Hi, > Thanks for the tips and i've been trying different approaches all day and > reading lots of docs with varying success. Now i can get my file and all but > i still cant get it into the database. Here follows the code and the trace, > the code is not pretty yet but i just wanted it to work since i need to get > finished with this, this has held me up since Sunday.
Just a thought, given that you are having problems. Do you *need* to have the images themselves in a db or could you simply store the filenames and the rest of the image info in the db but serve the binaries up from a static directory? If you change the permissions on that static directory you could always set it up so that nothing but the web server user can read/write from it, thus protecting against people mucking them up over ftp and keeping upload/downloading through your python client. And if visibility on the web is a problem, an htaccess file blocking normal viewing with mod_rewrite might do the trick. Might be an easier out if it will do the job ... HTH Iain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

