<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Restricting API Token to a given root folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644266#M29588</link>
    <description>&lt;P&gt;Thank you very much for all your feedbacks. That helps me &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 14:54:51 GMT</pubDate>
    <dc:creator>Cinelist</dc:creator>
    <dc:date>2022-12-15T14:54:51Z</dc:date>
    <item>
      <title>Restricting API Token to a given root folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644192#M29583</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm new to the Dropbox Developer community &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to limit an app token (generated with the OAuth2 flow) to a given folder in the corresponding Dropbox?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems to be possible with scopes, but I don't understand how to...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 19:00:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644192#M29583</guid>
      <dc:creator>Cinelist</dc:creator>
      <dc:date>2022-12-15T19:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting API Token to a given root folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644253#M29584</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1595582"&gt;@Cinelist&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Is it possible to limit an app token (generated with the OAuth2 flow) to a given folder in the corresponding Dropbox?&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1595582"&gt;@Cinelist&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;No, you cannot limit access to particular folder for token. You can set in your application some folder to be root (actually re-rooting), but this isn't a limitation. To limit access to a single folder you can use registered application with application' folder. Such a folder will be created automatically in the App folder and your application will be able access resources only residing there (as opposite to full access) if that's what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1595582"&gt;@Cinelist&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;It seems to be possible with scopes, but I don't understand how to...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No, scopes are used to point out (and limit) what you are intend to do on accessible resources (not to limit the resources themself).&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 14:07:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644253#M29584</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-12-15T14:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting API Token to a given root folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644254#M29585</link>
      <description>&lt;P&gt;Thank you very much for your reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;To limit access to a single folder you can use registered application with application' folder. Such a folder will be created automatically in the App folder and your application will be able access resources only residing there (as opposite to full access) if that's what you want.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Yes this is exactly what I want! How should I do that? On the Dropbox app's&amp;nbsp;dashboard?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 14:11:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644254#M29585</guid>
      <dc:creator>Cinelist</dc:creator>
      <dc:date>2022-12-15T14:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting API Token to a given root folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644255#M29586</link>
      <description>&lt;P&gt;On an existing application you cannot change this! When you created your application you have set some type of &lt;A title="DBX Platform developer guide - App permissions" href="https://www.dropbox.com/developers/reference/developer-guide#app-permissions" target="_blank" rel="noopener"&gt;application permissions&lt;/A&gt;. If this type is "App folder", you don't need to do anything more - you got it already. If you have something else selected, you need to create new application and select proper type there.&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; That's it.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 14:20:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644255#M29586</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-12-15T14:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting API Token to a given root folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644260#M29587</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1595582"&gt;@Cinelist&lt;/a&gt; As Здравко indicated, &lt;SPAN class="mount-point-wrapper"&gt;Dropbox does not offer the ability to grant an app/access token access to specific existing folder(s) only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;The Dropbox API currently offers two levels of file/folder access: "app folder" and "full Dropbox". The closest option to your request would be the "app folder" access type. Apps with the app folder access type can only access the contents of a special app folder created for the app in the connected account. You can find &lt;A href="https://www.dropbox.com/developers/reference/developer-guide#app-permissions" rel="noopener noreferrer" target="_blank"&gt;more information on app permissions here&lt;/A&gt;. Scopes only control which functionality the app can access, not which content.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not possible to switch the access type on an existing Dropbox API app. If you want to change the access type used for an app that hasn't been released to users, you can do so by deleting the current API app&amp;nbsp;registration and registering another with the desired permission. Deleting an API app in development mode frees up the name so you can register it again. Once you do, just be sure to update your app accordingly to use the new app key and secret. Access tokens for the deleted app will also no longer work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your app has already been released to users, we do not recommend disabling your API app, as it would break the integration for existing users. Instead, we recommend you register another API app for the other access type and add that as an option in your app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can &lt;A href="https://www.dropbox.com/developers/apps/create" target="_blank"&gt;register a new API app here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 14:24:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644260#M29587</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-12-15T14:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting API Token to a given root folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644266#M29588</link>
      <description>&lt;P&gt;Thank you very much for all your feedbacks. That helps me &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 14:54:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Restricting-API-Token-to-a-given-root-folder/m-p/644266#M29588</guid>
      <dc:creator>Cinelist</dc:creator>
      <dc:date>2022-12-15T14:54:51Z</dc:date>
    </item>
  </channel>
</rss>

