title: How to get a youtube access token for only one resumable upload
body: <p>I would like the user to upload a video to my youtube channel. This is important. The channel is not the user channel, but mine. </p>
  
  <p>Working on the previous problem (<a href="https://stackoverflow.com/questions/27888158/returned-access-control-allow-origin-is-not-taken-into-account-for-youtube-v3">Returned &#39;Access-Control-Allow-Origin&#39; is not taken into account for youtube v3 CORS</a>) I thought if what I am trying to achieve is even correct and appropriate.</p>
  
  <p>Question is: Can I have an access token that is valid only for one particular upload and can not be used for uploading additional videos and doing additional changes on the channel? Because once I return an access token to the user he/she could take this access token and do modifications to my youtube channel. </p>
  
  <p>Here is the situation:</p>
  
  <ol>
  <li>I have a client and a server.</li>
  <li>The server uploads a snippet to youtube with API v3 and gets a resumable url (Youtube v3 API for resumable uploads - <a href="https://developers.google.com/youtube/v3/guides/using_resumable_upload_protocol" rel="nofollow noreferrer">https://developers.google.com/youtube/v3/guides/using_resumable_upload_protocol</a>). </li>
  <li>This url and an access token is send from the server to the browser where the browser makes an ajax PUT request to upload the actual file to the resumable url. In this way the file is not transferred to the server, but directly uploaded from the client.</li>
  </ol>
  
  <p>Again, the question is: Can I have an access token that is valid only for one particular upload and can not be used for uploading additional videos and doing additional changes on the channel? Because once I return an access token to the user he/she could take this access token and do modifications to my youtube channel. </p>