printdotio / pio.js

An embeddable widget that enables users to quickly and easily monetize a webpage by enabling photo-product sales of its images.
4 stars 0 forks source link

Protecting copyright material from download. #95

Open nicholasdunbar opened 9 years ago

nicholasdunbar commented 9 years ago

When I use

drawingPath = 'https://6genius-ssl.localhost/get-it/558d0382ea81f173930258g2n0.png';
PIO.open({
        images:[drawingPath]
});

I see in the network activity this:

hackable-url

Can I make the URL expire after one access thus allowing print.io to be the only way to access the URL for printing. If not what do you advise? Is there a better way to do this?

nicholasdunbar commented 9 years ago

Tagging @benhoxie @printioengineering and @thetriciarussel (Tricia Russel)

nicholasdunbar commented 8 years ago

Apparently no one cares.

micahasmith commented 8 years ago

hi @nicholasdunbar-- sorry we didnt see this earlier.

unfortunately its not possible to do it by number of downloads-- most other partners do it via making the image not-downloadable after 2 hours, and requiring the http referer header to be *.print.io

for future issues email me at micah at gooten dot com

seancunningham commented 8 years ago

Is there anywhere in the docs that states how long an image must be made public for when using print.io and its widget?

micahasmith commented 8 years ago

no. but i would recommend 2 hours minimum.

seancunningham commented 8 years ago

I'm looking more for a maximum, as our images are private by default. Is it only safe to say that the assets must be available until the order is fulfilled? Or does print.io replicate the image into its own service within a certain time to provide the image at a later point for the fulfillment?

micahasmith commented 8 years ago

the image gets saved on our side within 15 mins of fulfillment.

however, if there is an issue with the image/order, and one of our CS team needs to fix/resubmit, there are cases where we can need the original image again

seancunningham commented 8 years ago

And fulfillment happens "as soon" as an order is submitted?

Also, thanks for your speedy replies -- its really appreciated!

micahasmith commented 8 years ago

yep, right away.

the only thing that can break the 15 min rule is if there is a payment issue with charging you (the partner) for any outstanding balance on the order, which only could happen if you sold the order for less than your cost