java - Google App Engine - Uploading blobs and authentication -


(i tried asking on gae forums didn't answer trying here.)

currently upload blobs, app engine's blob store service creates unique one- time url user can post blobs to. requirement want authenticated / authorized users post blobs in application. can achieve if page includes multipart form upload blobs in application.

however, looking providing "rest api" users upload blobs. while true one-time nature of upload url mitigates chances of rogue use it's still possible.

i wondering if there on app engine team here can consider feature developers can register upload listener. (or if there way, i'll ears). standard servlet filter potentially job. give opportunity authenticate / validate / decorate requests before request gets forwarded blob store service.

thanks, keyur

since, point out, it's possible upload blobs if have valid upload url, can issue valid upload urls authorized users. way unauthorized user upload url if authorized user gave them, or intercepted - , in either case, same caveat apply regular credentials.

in case, it's still possible check user's credentials after upload, @ point can delete blob if you're not satisfied. if possible regularly upload unauthorized blobs, lead denial of service vulnerability, due restrictions on handing out encoded urls mentioned above, apply if, example, user's access revoked after generated upload url them.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -