Drive is the popular cloud storage service by Google.
Maybe you don’t know that you can execute interesting tasks using the Google Apps Script scripting language.
On Internet you can find scripts ready to use, just follow the instructions in the posts:
Find Who has Access to your Files and Folders in Google Drive – the script can scan your Google Drive and prepare a list of all files that have ever been shared from your Google Drive.
Set an Auto-Expiry Date for Shared Files and Folders in Google Drive – the script can set an auto-expiry date for shared files and folders, after that they will be set as private. You just need to specify a date and time when you want the shared links to expire.