Can I make Google Drive available on my home network as a network drive? - google-drive-api

Can I create a connection on one computer or device that exposes my drive to the rest of my network as a network shared drive?
My specific use case is that I have an older scanner that is connected to my wife that scans files and can send them to an email address, or to a network shared location. I’m trying to get it to send files directly to my Google drive though. Is there any way I can have computer connect to drive that lets the rest of the network see it as a shared drive?

Google Drive integration into Windows means that there will be some folder that acts as the Google Drive drop folder.
That folder, typically under your Documents folder can be Shared:
Right-click
Properties
Sharing tab
Click Advanced Sharing
Check Share this folder
Click Permissions
Grant Everyone the Change permission
Good question, totally fits StackOverflow, and definitely shouldn't be closed.

Related

Building cloud service using python google drive API

Hi i'm trying to make my own cloud web service that uses python google drive API.
what i'm trying to make is basically cloud service but can also interact with Google Drive.
To do that, my web service users have to have their own 'storage.json' file in their server's virtual directory (which really stores in server).
when I somehow get my own 'storage.json' file, (I followd: https://developers.google.com/drive/api/v3/manage-uploads)
and upload 'storage.json' file to my directory like User1, upload and download with Google drive works just fine.
but my final goal is when my user doesn't have 'storage.json' file in their directory like User2, I want browser to pops up in User2's computer and User2 can follow the google's authentication flow and finally download 'storage.json' file into server's ~/User2/ directory.
Do you think this is possible? or if there are better ways, can you notice me? thank you

Google drive synch from "Drive to PC"

I have created a new file and google drive through the browser.
But I am unable to see the new file on the connected google drive physic PC drive.
Is this not achievable with google drive?
Only one side of synch only work(PC to Google Drive)? Two way syncing is not possible (PC to Google Drive and Google drive to PC)?
AFAIK, this is a one way sync (PC to Drive not the other way around). When installing the Google Drive app and do a backup and sync, Google Drive acts as a Cloud backup for any changes to the selected folders you've wanted to backup.
As stated in this guide:
The Backup and Sync tool is split up into two main sections:
Google Drive: This performs the same function as the original Google Drive app. You choose what folders to sync from your Google Drive cloud storage, and they’ll appear in a Google Drive folder on your PC. Anything you put into that folder will also sync to Google Drive.
My Computer: This part is new, and allows you to sync files between your computer and Drive without putting them in the dedicated Google Drive folder. Just pick the folders from your computer you want to sync, and they’ll sync to your cloud storage (though they’ll appear in a separate section of the Google Drive interface, rather than with all your other Drive files.)
Hope this helps.

BizTalk integration with google drive

I am looking to integrate BizTalk 2010 with google drive to do the basic operations such as Create folders, upload files, share and change the permissions. Anyone has any idea about it?
BizTalk is primarily a messaging platform, not a folder / file management platform. You can send messages to file location, but any file or folder creation that goes further than writing the file will to custom. Perhaps BizTalk is not the best solution for that problem.
However; If you can mount your Google drive as a local file system, than you can let BizTalk work against the mounted filesystem.
This way you won't have to deal with all the specifics of the Google drive API, and you can focus on your BizTalk solution.
Alternatively, if you cannot mount the drive as a filesystem, just let BizTalk write to a local folder, and synch that folder with your Google drive.

How multiple users in a Web Application can access the single Google Drive using Google API

I have a web application which will create users. And I have a single Google Drive. Once a user is create a folder will be assigned to that user in that Google Drive. That user can access only the folder allocated. Every time the user logs in from the web application the files within the allocated folder are able to view and the user can also upload and download files to that folder only. How this is achieved using Google API.
To start with you are going to need a create a service account for your application. The application will own the google drive account.
https://developers.google.com/accounts/docs/OAuth2#serviceaccount
Then your application is going to have to create the directory for the new user and associate the user with the directory's fileid (remember directorys are just files in google drive) the directory name could change so save the file id not the directory name to be sure.
Then it should simple be a matter of your appilcation uploading / viewing the files to the correct directory depending upon who is loged in. Since you will have the id for the directory it will be easy enough to list them the files already in that directory. as well as uploading directly to that directory.

Google Drive upload from webserver

I'm trying to make a service that runs on a webserver and can upload files to Google Drive,
so that people can sync the files to local-drive using the Google desktop application.
So I tried the Drive API but it requires a webbrowser to authenticate.
This would be a possibility, but I don't know to get the access token programmically.
Even if I had the access token, I wouldn't know if it just works forever.. It seems to have an expire date?
I wouldn't want the service to suddenly not working, because the token has expired.
Than I learned about Service Account, and finally got it working, but it seems to have its own space that i can only access with the service account.
I don't know how to share the files from the service account to a regular account, as people need to sync it locally.
So a found a video about user impersonation, in which he showed a page about given access to a service account to impersonate another user.
But i don't know where to find this page.
Looking at: http://support.google.com/a/bin/answer.py?hl=en&answer=162106&topic=2759255&ctx=topic
It says it's in Advanced Tools > Manage third party OAuth client access (under the Authentication section).
But where is the Authentication section? Do I need to create a Google App to do this?
The question is: How upload files programmically to Google Drive without any user intervention, so that they can be synced locally with the drive desktop-application.