• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Note: From May 27, 2025, the HP Print and Scan Doctor will no longer be available (retired) and HP will not release any further app updates. You can learn more by clicking here Replacement for Print and Scan Doctor.
Common problems HP Solution Center not working : Adobe Flash Player Error and Unable to scan
We would like to share some of the most frequently asked questions about HP Solution Center not working : Adobe Flash Player Error and Unable to Scan.
HP Recommended
Laser Jet Pro MFP M281FDW

I was setting up scan to Google drive on my new printer today and found some concerning security settings. Is there any reason why the eStorage app used to scan to Google drive is requesting Full Access?

This seems like an extreme overstep of permissions actually needed in order to scan to drive and opens a rather large security risk.

The relevant access scope being requested:

 

hp_access_req.png

https://www.googleapis.com/auth/drive Full, permissive scope to access all of a user's files, excluding the Application Data folder. Request this scope only when it is strictly necessary.

 

As per Google authentication guidelines here: https://developers.google.com/drive/api/v3/about-auth an app developer should "choose the most restrictive scope possible, and avoid requesting scopes that your app does not actually need."

 

From my prespective, the eStorage app should only need the following permissions:

 

https://www.googleapis.com/auth/drive.file

Per-file access to files created or opened by the app. File authorization is granted on a per-user basis and is revoked when the user deauthorizes the app.

and maybe 

https://www.googleapis.com/auth/drive.readonly Allows read-only access to file metadata and file content

 

Could someone shed some light on how HP can change the access scopes to improve the security posture for this service?

 

Thanks!

3 REPLIES 3
HP Recommended

@jgreger

 

Google Drive (from Google, not HP) requires user's priviledges to be able to write.  You can ask Google why, similar to scan to email using Google mail (ie gmail) you have to setup few more steps to pass security rules.

 

Regards.

BH
***
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.




HP Recommended

Yes, the eStorage app needs write permissions. I have no issue with that, it wouldn't work otherwise.

 

I have issue that the eStorage app is requesting FULL ACCESS. Ie, it can read/write/DELETE absoltely ANY file in my drive. I don't see why a scanning app would require this level of access.

 

As I mentioned earlier, there is a permission role that would grant the app read/write access to only the files the eStorage app creates. This, in my opition, is more suited to a scanning app

 

HP Recommended

+1 to @Jgreger's question

Also, I strongly disagree with @Banhein's response.  Google Drive provides finer grained permissions options than what @Banhein suggests in his response.

 

Looking at the previously provided Google Auth docs linked in this thread (https://developers.google.com/drive/api/v3/about-auth), the following permission is needed:

https://www.googleapis.com/auth/drive.file

"Per-file access to files created or opened by the app. File authorization is granted on a per-user basis and is revoked when the user deauthorizes the app."

 

There is no reason that HP needs read/write access to all of my Google Drive files.  This is a huge privacy oversight.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.