maple3142 / GDIndex

A Google Drive Index built with Vue Running on CloudFlare Workers
https://gdindex-demo.maple3142.workers.dev/
MIT License
1.85k stars 1.13k forks source link

Hide root id #72

Closed churongcon closed 4 years ago

churongcon commented 4 years ago

Hello I wanna hide root ID

ex: https://gdindex-demo.maple3142.workers.dev/?rootId=root

Only access when user have folder id https://gdindex-demo.maple3142.workers.dev/?rootId=0ANuznjfLOB9mUk9PVA

maple3142 commented 4 years ago

Hide root id for security is pointless, but if you really want to do it, just set it as defaultRootId

churongcon commented 4 years ago

I just want to share some specific folders? how to do it if they go to this link https://gdindex-demo.maple3142.workers.dev/?rootId=root they can see all my folder

churongcon commented 4 years ago

@maple3142

maple3142 commented 4 years ago

Easy way: Create a another account and share those files to that account, and create another instance of GDIndex using the new account. Hard way: Read the code and edit accordingly

churongcon commented 4 years ago

I dont have more unlimited storage to create another :(

Same goindex have password for specific folder https://github.com/yanzai/goindex

maple3142 commented 4 years ago

You don't have to, just create another account and share access to new account should do the trick.