简体   繁体   中英

What options are there for verifying that mturk is requesting my ExternalQuestion and not a 3rd party?

I have a django application that I want to host a form on to use as the template for an ExternalHit on Amazon's Mechanical Turk. I've been trying to figure out ways that I can make it so only mturk is authorized to view this document.

One idea I've been considering is looking at the request headers and confirming that the request came from Amazon. However, I couldn't find any documentation regarding any of these topics and I am worried that if the source of the request ever changes the page will become inaccessible to mturk.

Anyone have any suggestions or solutions that they have implemented?

Fyi, I'm using python/django/boto.

Every request from AWS will include additional URL parameters: workerId , assignmentId , hitId . That's probably the easiest way to identify a request coming from MTurk. There may be headers, as well, but they're not documented anywhere.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM