Re:Pack arbitrary files into PNG and access them using JavaS...
by kqr2 on Friday April 03, 2015 @10:29PM
(#9319671)
I guess this would be useful with Amazon's free unlimited cloud photo storage.
[ Parent
| on HN ]
Re:Pack arbitrary files into PNG and access them using JavaS...
by mannkind on Saturday April 04, 2015 @09:41AM
(#9320788)
A small (631 bytes) JPEG concatenated with your file of choice (preferably encrypted) accomishes what you're thinking.
But you run the risk of a ToS violating, losing your files and having your account banned.
Re:Pack arbitrary files into PNG and access them using JavaS...
by stephen272 on Saturday April 04, 2015 @01:03AM
(#9319964)
Only if they leave the photo as a losslessly compressed png. They might convert to a lossy JPEG on upload, which means your data is toast.
Re:Pack arbitrary files into PNG and access them using JavaS...
by isomorphic on Saturday April 04, 2015 @01:32AM
(#9320026)
Two can play at that game. You can store data in JPEG that can even survive recompression with lower quality. If it's worth it to you to go to all that trouble, that is.
Re:Pack arbitrary files into PNG and access them using JavaS...
by Intermernet on Saturday April 04, 2015 @04:45AM
(#9320375)
Interesting paper: Bypassing Cloud Providers’ Data Validation
to Store Arbitrary Data [1]
>JPG & PNG Steganography Encoder (JPG-PNGStega). The purpose of this encoder is to inject data (hiding it) in JPG and PNG files. It takes a File Format Sample (JPG or PNG) and, for each pixel, it injects 3 bits of data in the LSBs (Least Significant Bit). There are more sophisticated image steganography methods already widely discussed. However, the use of this encoder shows that even basic meth- ods of JPG and PNG steganography are possible in SaaS applications, and the exploitation of such method may bring impacts