qlpreviewItem file vs file stream

Hi,

I undersand that qlPreviewItem requires a file type URL for diplaying a file. For security reason, is there a way to get around it by reading off from a data stream ?

that way, no files will be stored on the disk.

thanks!
leo

qlpreviewItem file vs file stream
 
 
Q