Google Drive security update 2021- questions, how does it affect PyDrive2, how to deal with it
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
Bắt đầu với bản cập nhật bảo mật Google Drive được liên kết và FAQ của bản cập nhật đó, sau đó kiểm tra tài liệu API của PyDrive2 cùng các entry point của wrapper liên quan đến liên kết tệp và quyền. Hoàn tất có nghĩa là phải ghi lại rõ ràng liệu các khóa tài nguyên hoặc các cơ chế kiểm soát của bản cập nhật bảo mật có ảnh hưởng đến người dùng PyDrive2 hay không, đồng thời xác định mọi thiếu sót cụ thể trong hỗ trợ API; issue không nêu tên tệp hoặc bài kiểm thử nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
"Security update for Google Drive": https://support.google.com/drive/answer/10729743
1st paragraph says "the security update will make Google Drive files more secure by updating their links to include a resource key"
So I have two questions here:
(1) I don't really understand at all how this will affect files shared with me by other people.
This is my usual workflow:
- I have created a Gdrive folder (like this one) which I share with a couple of my clients' Google accounts, so they both can edit files inside the folder (basically, they upload and rename images, pdf and audio/video files). They can't edit folder sharing properties, and as I set the folder content to be public, all uploaded files should be public (everybody can view, without a Google account). So this folder is basically a public files repository (intended to be linkable from any website).
- Then, I run a PyDrive2 python script to process all content inside that folder. Based on file names/ids, I create the text and appropriate links to these files inside my clients' web page (an html file which I generate and upload to my server using the same python script).
My script works based on the public folder id, and then loops through file ids inside that folder.
I wonder if these ids are supposed to somehow change, or the announced changes do not affect api at all (just the public way of linking the files).
I mean ... if the ids change, I assume the links will change (so images embedded in the webpage will not be visible anymore).
But will the api still provide the updated ids to current PyDrive2 scripts? (so that it will be enough with re-running the script to update the public links in my webpage?).
Or perhaps that announced new "resource key" means we will need to somehow modify PyDrive2 and/or our scripts to use kinda double-id system in the future? - BTW, not a PyDrive2 question, but I ask just in case anyone knows: In the above scenario, where my clients create and own the files, but they upload them to a public folder which is under my control ... who is the user which can actually decide to apply or not to apply the security update?
As far as I can tell, my clients cannot avoid the files to be public-visible when they decide to upload them to my public folder (they just can change my own permission: by default I can also edit those files). But I wonder if this security update will change that behaviour somehow.
(2) Regarding my own files (those created and shared by me, not by my clients):
The above link FAQ say I can find them using some Gdrive query tags (is:security_update_applied and is:security_update_removed).
Is it actually possible to somehow use PyDrive2 to change the security update?
Perhaps it is something which depends on a tag that can be changed through the api.
Thanks
- Ngôn ngữ chính
- Python
- Star
- 670
- Fork
- 75
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của iterative/PyDrive2
-
Is this abandon ware? Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 30/100
-
Update cryptography to 44.0.0 Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của iterative/PyDrive2
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stephrobert/dsoxlab#238 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
sublimehq/package_control#1780 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nwg-piotr/nwg-displays#145 ·