google drive hosting changes in URL -
google drive hosting changes in URL -
i've developed web app uses google drive hosting platform explained here:
https://support.google.com/drive/answer/2881970?hl=en
the application has been working ok when users accessed:
https://googledrive.com/host/0b0ywdwxh6k5xdvpanjhwul9vzke/?scriptid=akfycbx66szmaqlk8byhv7wy_doq8ouqf1acwrcc0jihydu5cvwzupak&id=people
but yesterday started redirecting address to:
b216bdb4cf56e8d9d85cf1123921ca125a010325.googledrive.com/host/0b0ywdwxh6k5xdvpanjhwul9vzke/
any thought why? permanent change? subdomain key follow logic?
browser: occurs on chrome & ie operating system: windows8 drive on web / drive desktop: when accessing googledrive.com/host
i found right thread @ google.com reply this. here is: https://productforums.google.com/forum/#!category-topic/drive/mtyjxrurhbg
in short, redirect , prefix here stay. it's security thing. files within same googledrive folder prefixed same guid-looking string. is, provided utilize googledrive url form: googledrive.com/host/{folderid}/friendlyfilename. then, back upwards files want access or link folder, access them friendlyfilename relative url form.
my problem was, using obscure form googledrive.com/host/{userid+fileid}. (no folderid or friendlyfilename). gets different domain prefix every file within same folder.
here's different variation of test file showed above (which getting security exception webworker). works using {folderid}/friendlyfilename form. tada. https://googledrive.com/host/0b8bld2qppv7xme1rnu9iwnytbtg/ded-worker-f12throw.html
google-drive-sdk
Comments
Post a Comment