Files and access
This page is for everyone who uses Revizo and for the customer's IT department. It explains what Revizo can read in OneDrive, SharePoint and Google Drive, what is stored, who sees what, and how you stop the access.
:::warning Everyone in the organisation sees the connected SharePoint folder When an administrator has connected a SharePoint folder to Revizo with the level «Read + write in the chosen folder» (Les + skriv i valgt mappe), everyone in the Revizo organisation can browse the folder, search it and link files from it, whatever rights they have in SharePoint. The exception is users with the Viewer role, who get no SharePoint sources or file search. Opening the file itself still requires the user to have access in SharePoint. Choose a folder that everyone in the organisation may see. :::
In short
| Question | Answer |
|---|---|
| Does Revizo copy files linked from OneDrive, SharePoint or Google Drive? | No. The files stay at Microsoft or Google. Revizo stores a link with the name and a few details. |
| Does Revizo store any files? | Yes: files you upload to Revizo and reports Revizo generates. That is different from linked files. See What is stored. |
| Can Revizo read everything in SharePoint? | No. Revizo only reads the one folder an administrator has connected. Revizo never searches the organisation's whole SharePoint. |
| Can Revizo read other people's OneDrive? | No. Each user connects their own account, and Revizo only sees that user's own files. |
| Does a link in Revizo give extra access to a file? | Not in itself. Opening a file requires that you have access yourself at Microsoft or Google. Exception: a sharing link you paste can give access to anyone who has the link. See Pasted sharing links. |
| Is what I type in file search stored? | Not in Revizo's database, and the code does not write it to the application logs. The text is sent to Microsoft, and it is part of the address of the request. See Your search text. |
What Revizo can read
OneDrive: only your own files
Each user connects their own Microsoft account. Revizo then asks for the permissions Files.Read, User.Read and offline_access. That gives read access to the files in that one user's own OneDrive, and nothing else.
A user can usually approve these permissions without IT. Some organisations have stricter rules, and then IT must approve the app first.
SharePoint: one folder, chosen by an administrator
A SharePoint folder is connected by an administrator, not by each user. This is how it is limited:
- Revizo uses the application permission
Sites.Selected. It gives no access until a Microsoft administrator has given the app access to a specific site. Revizo does not ask forSites.Read.AllorFiles.Read.All. - Revizo restricts itself to one folder in one document library. The server looks up every file and folder before it is read and checks that it lies in the connected folder or below it.
- Files and folders outside the folder, shortcuts and remote items, and content in other libraries are refused. The refusal looks the same as if the file did not exist.
- Revizo stores no user tokens for SharePoint. The app gets a short-lived token when needed, and the token is never stored in the database.
- The folder only becomes a file source when the connection is active, approved by the Microsoft administrator, has a chosen site and library, has a folder (not the whole library) and has the level «Read + write in the chosen folder».
:::info Microsoft grants access per site, Revizo limits it to the folder
It is Revizo's own code that keeps the app inside the folder. On Microsoft's side the access is granted to the whole site, not only the folder. That also applies to the level «Write access only»: there Revizo's code reads nothing from the folder, but the role write at Microsoft includes reading in itself. So it is Revizo's own code that prevents reading, not Microsoft. If you want a limit at Microsoft as well, connect a separate site that holds only what Revizo should see.
:::
Google Drive: only the files you choose
Revizo uses the permissions drive.file and userinfo.email. With drive.file Revizo only sees the files you choose yourself in Google's file picker. userinfo.email is used to show which Google account is connected.
What Revizo cannot read
- The rest of SharePoint: other sites, other libraries and other folders than the connected one.
- Other people's OneDrive.
- Files in Google Drive that you have not chosen.
- The contents of the files you link. Revizo shows and links, but does not read the contents. When Revizo shows or searches files, it only asks for metadata about each file: name, type, size, modified date, who changed it, address and location.
What is stored
Linked files: name and link, not the file
When you link a file from OneDrive, SharePoint or Google Drive, Revizo stores:
- the link (the address at Microsoft or Google). A pasted address is stored as it was pasted, except for the part after
# - the file name and file type
- the size and the date the file was last changed, when Microsoft or Google provide them
- the source and the identifiers in the source (to recognise the file)
- who linked the file and when, and which task, company or reconciliation it belongs to
The file itself and its contents are not stored. Neither is the location text you see in the file picker. Everyone who can see the task, company or reconciliation sees the link with its name and details, including those who do not have access to the file itself.
Files Revizo stores
Revizo does store some files itself, and it is important to tell them apart from links:
- Files you upload to Revizo, such as attachments on a task or documents in the document archive, are stored in Revizo's file storage with our sub-processors.
- Reports and exports Revizo generates are stored in Revizo's file storage.
- To SharePoint, Revizo can write files into the connected folder. The write test an administrator can run creates a small text file there.
See Sub-processors for who stores what, and Data retention for how long.
Your connection
For OneDrive and Google Drive your access tokens are stored encrypted, so you do not have to sign in every time. The email address of the account is stored unencrypted, so Revizo can show «Connected as …». For SharePoint only the chosen Microsoft site and folder are stored, not a token.
When you disconnect, Revizo deletes the tokens. Revizo does not revoke the permission at Microsoft or Google. To remove it there as well, do it in your account: at Google under connected apps at myaccount.google.com/permissions, at Microsoft via myapps.microsoft.com (the wording varies with the organisation). An IT administrator can also remove the app under Enterprise applications in Microsoft Entra.
How long is it kept?
- Links are kept until someone removes them, until the task, company or reconciliation they belong to is deleted, or until the organisation is deleted.
- Audit log events, with file names, are kept as long as the organisation is active, and deleted when the organisation is deleted.
- The tokens for OneDrive and Google Drive are kept until the user disconnects or the organisation is deleted. They are not deleted automatically when a member is removed from the organisation, but they are not used unless the person signs in to Revizo.
See Data retention for the rest.
Your search text
When you search for files, the search has to run at Microsoft. This is how the text is handled:
- The text is sent over HTTPS from Revizo to Microsoft Graph, which runs the search. Microsoft therefore sees the text, as with any other use of Microsoft 365.
- Revizo does not store the text in the database.
- The code that runs file search in the command palette does not write the text to Revizo's application logs. The log only shows which source was searched, how many hits there were and how long it took.
- The text is part of the address of the request (
…/api/cloud-files/search?q=…). Addresses can therefore appear in the hosting provider's request log. See Sub-processors for who that is, and Data retention for how long such logs are kept. We have not removed the text from them. - The text is removed from the addresses and error messages in Revizo's error reports (Sentry) before they are sent. That applies to file search in the palette and to the search field in the file picker.
- The palette does not remember the text. «Recently visited» shows pages you opened, not what you searched for.
When is the text sent? If you have a file source (your own OneDrive or a connected SharePoint folder), what you type in the command palette is also sent to file search, on a wide screen, as soon as you have typed at least two characters and paused briefly. That applies to everything you type in the palette, not only text that starts with /. On narrow screens it is only sent in file mode (/). The text can be up to 100 characters.
Searches are limited per user, so ordinary use will not hit the limit, while heavy or automated use is stopped. If you hit the limit you see «Try again in a moment».
Who sees what
| What | Who sees it |
|---|---|
| A link on a task, company or reconciliation | Everyone who can see the task, company or reconciliation |
| The connected SharePoint folder: name, size, modified date, who last changed the file (shown in the picker's preview) and location | Everyone in the organisation with the Administrator or Member role. They can browse, search and link, whatever their own rights in SharePoint |
| Your own OneDrive | Only you |
| Search hits in the command palette | Only you |
Users with the Viewer role get no SharePoint sources and no file search.
Choosing a folder is therefore an access decision.
The location can show folders above the connected folder
Under a file name in hits and in the preview you see where the file is. For SharePoint the location is the whole path from the library root. It can therefore show the names of the folders above the connected folder, for example «Save Solutions › Kunder › Bilag» when only «Kunder» is connected. The contents of those folders are not shown, only the names.
Opening a file
Revizo gives no extra access to files. A link opens the file at Microsoft or Google, and there your own access applies. That goes for files in the connected SharePoint folder as well: seeing a file in Revizo does not mean you can open it. If you do not have access, Microsoft tells you so.
Pasted sharing links
There is one exception. When you paste a sharing link (for example «anyone with the link can view»), it is the link itself that gives access, not your account. Everyone who sees the link in Revizo, including colleagues who otherwise have no access to the file, can then open the file. Revizo stores the address as it was pasted, except for the part after #. So only paste sharing links you are comfortable with everyone who sees the task, company or reconciliation using. Links you choose in the file picker are ordinary addresses of the file, not sharing links.
Why search does not cover all of SharePoint
Searching all the SharePoint sites of an organisation requires the permissions Sites.Read.All or Files.Read.All. They give an app access to everything in the organisation, and Microsoft normally requires an administrator to approve them. We have deliberately chosen not to use them. File search therefore covers only the connected folder and your own OneDrive. You can still link a file from anywhere in SharePoint by pasting its address.
Permissions and why
| Service | Permission | Type | Why |
|---|---|---|---|
| OneDrive | Files.Read | Delegated, per user | Read the files in the user's own OneDrive |
| OneDrive | User.Read, offline_access | Delegated, per user | Know which account is connected, and keep the connection alive |
| SharePoint | Sites.Selected | Application, per site | Read and write in one site an administrator has pointed out |
| SharePoint (sign-in during setup) | openid, profile | Delegated, administrator | Prove which Microsoft organisation approves the app |
| Google Drive | drive.file | Delegated, per user | See only the files the user chooses in Google's file picker |
| Google Drive | userinfo.email | Delegated, per user | Show which Google account is connected |
What is logged
Revizo writes these events to the audit log:
- that files were linked, with source, number and file names (
cloud_file.linked) - that a link was removed (
cloud_file.unlinked) - that a user disconnected OneDrive or Google Drive (
cloud_files.disconnected) - that SharePoint was approved, set up, disconnected or tested (
sharepoint.consented,sharepoint.configured,sharepoint.disconnected,sharepoint.exported)
Browsing files and searching for files are not logged in the audit log. The events are kept as long as the organisation is active. See How long is it kept?.
How to stop the access
- A user disconnects OneDrive or Google Drive in Revizo. The links remain. The permission at Microsoft or Google also remains until the user removes it there (see Your connection).
- An administrator disconnects the SharePoint folder in Revizo. The folder stops being a file source at once.
- The Microsoft administrator withdraws the app's access to the site, or removes Revizo under Enterprise applications in Microsoft Entra.
Links that have already been added remain. They are ordinary links, and they open at Microsoft with the user's own access. See the guide for administrators for the steps.
Questions about security can be sent to karl@savesolutions.no.
See also Files in the task and the Security overview.