YouTube API Watch Private Videos

后端 未结 3 857
刺人心
刺人心 2021-02-06 11:15

I have a website that has a draft mode. Someone can login and see what the site looks like to approve it before the public can see it. I have YouTube videos on an account that I

3条回答
  •  庸人自扰
    2021-02-06 12:06

    Mark your videos as unlisted, not private.

    Sometimes, security is about compromise. At one end of the spectrum, you can lock things down completely so that no one can access the data. At the other end, the most usable and accessible data will not be secure.

    With that said, you are asking for functionality for N users when the security model you seek is too restrictive and only allows 25 users.

    Security and accessibility consists of a balance between an acceptable standard for accessibility while also meeting an acceptable standard for security.

    In your situation, marking your YouTube videos as unlisted may provide you with the balance you seek since a 25 user limitation is a show stopper.

    http://www.google.com/support/youtube/bin/answer.py?answer=181547

    Your videos can be accessed by anyone who has the link, which would only be the users who have access to your system. The link is not public, so it's very unlikely that someone will guess or find your YouTube videos, as the URL's themselves consist of random characters.

    The only way other people could access the videos is if your logged-in users go into the browser source, after logging in, and email the URLs to their friends.

    • Your users don't need YouTube accounts.
    • Videos are only accessible to users who login OR users who login, view source, and give the URL to other users.
    • Security could be mitigated by periodically changing the urls for the videos.

    Steps to mark your video as unlisted:

    • Click on your video to load it in YouTube.
    • At the top left, click "Edit Video Detail"
    • Scroll down to where it says "This video is" and in the drop down list, select "Unlisted".

    Select Unlisted as your preference

提交回复
热议问题