mysql image disable print download

Posted by Vish on Stack Overflow See other posts from Stack Overflow or by Vish
Published on 2010-05-22T10:17:50Z Indexed on 2010/05/22 10:20 UTC
Read the original article Hit count: 264

Filed under:
|
|
|
|

Hi, We use a Flex AIR client and a WAMP server. Tiff images are stored in MySQL. Currently, I can download the image from AIR client and it prompts for a download dialog. Things are fine till this point. We got a new requirement. Requirement is that only some users can print the image which gets downloaded. For other users, they should not be able to print the tiff image. Wondering how to accomplish this. One idea, not sure if its efficient, is to convert the image requested to pdf at the server side, disable print option there(hope there are API's available) and send back the pdf. Please let me know btter ideas.

Also, is there a way to prevent file download dialog from popping up everytime the file is requested for download? Can we just get the file stream to the client and manipulate it to open with a particular viewer or write it to pdf...

Please help.

© Stack Overflow or respective owner

Related posts about flex

Related posts about download