<?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: Allow Youtube for some persons and blocking it for others in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/allow-youtube-for-some-persons-and-blocking-it-for-others/m-p/14940#M10959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The tricky part is that a single session can only be identified as a single appid at a time. But also that a single session (well from the client point of view) can also change appid over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example unknown -&amp;gt; web-browsing -&amp;gt; youtube -&amp;gt; youtube-upload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar occurs also for facebook where facebook is not fully recognised until the user is logged in or is requesting more specific "deep" links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to make your black/whitelist successful you not only need multiple rules but also involve url-filtering to make the whitelist rules as narrow as possible and blacklist rules as broad as possible (along with placing them in correct order - PA reads the rules top-down first-match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think something like this should be sufficient:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Allow youtube for specific users&lt;/P&gt;&lt;P&gt;appid: youtube (or use an app-group or app-filter), web-browsing (so this rule is hit for these users in case main page of youtube isnt recognised as appid youtube)&lt;/P&gt;&lt;P&gt;service: application-default (or specify TCP80 and TCP443)&lt;/P&gt;&lt;P&gt;user: &amp;lt;specific users or group of users&amp;gt;&lt;/P&gt;&lt;P&gt;url: category: streaming media&lt;/P&gt;&lt;P&gt;action: allow&lt;/P&gt;&lt;P&gt;log: on session end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Block appids&lt;/P&gt;&lt;P&gt;appid: youtube&lt;/P&gt;&lt;P&gt;service: any&lt;/P&gt;&lt;P&gt;user: any&lt;/P&gt;&lt;P&gt;url: any&lt;/P&gt;&lt;P&gt;action: deny&lt;/P&gt;&lt;P&gt;log: on session end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Block urls&lt;/P&gt;&lt;P&gt;appid: any&lt;/P&gt;&lt;P&gt;service: any&lt;/P&gt;&lt;P&gt;user: any&lt;/P&gt;&lt;P&gt;url: youtube.com, *.youtube.com, &amp;lt;and other urls that should be here and/or categories&amp;gt;&lt;/P&gt;&lt;P&gt;action: deny&lt;/P&gt;&lt;P&gt;log: on session end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Allow regular traffic for all users&lt;/P&gt;&lt;P&gt;appid: web-browsing&lt;/P&gt;&lt;P&gt;service: application-default (or specify TCP80 and TCP443 and what other ports should be open for outbound traffic)&lt;/P&gt;&lt;P&gt;user: any&lt;/P&gt;&lt;P&gt;url: category: &amp;lt;allowed categories&amp;gt;&lt;/P&gt;&lt;P&gt;action: allow&lt;/P&gt;&lt;P&gt;log: on session end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Default drop&lt;/P&gt;&lt;P&gt;appid: any&lt;/P&gt;&lt;P&gt;service: any&lt;/P&gt;&lt;P&gt;user: any&lt;/P&gt;&lt;P&gt;url: any&lt;/P&gt;&lt;P&gt;action: deny&lt;/P&gt;&lt;P&gt;log: on session end&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2013 21:26:09 GMT</pubDate>
    <dc:creator>mikand</dc:creator>
    <dc:date>2013-08-30T21:26:09Z</dc:date>
    <item>
      <title>Allow Youtube for some persons and blocking it for others</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/allow-youtube-for-some-persons-and-blocking-it-for-others/m-p/14939#M10958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to allow Youtube in general for a few users. For other users it should be blocked.&lt;/P&gt;&lt;P&gt;I created a rule that all allows the youtube-application for a few users that are specified with the help of an active directory group. My second rule does only allow web-browsing and blocks other applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked fine so far. After a while I noticed that youtube is still reachable and only gets blocked, when the application is identified. So I additionally blocked the youtube-URLs via url filtering in the second rule.&lt;/P&gt;&lt;P&gt;But unfortunately the youtube-users can't acces youtube now. So I allowed the specified URLs in my first rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again it works fine. My current problem now is, that I have to specify the URL categories on both rules the same way. Is there another possiblity to avoid this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can understand my question and help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 12:13:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/allow-youtube-for-some-persons-and-blocking-it-for-others/m-p/14939#M10958</guid>
      <dc:creator>LCMember17002</dc:creator>
      <dc:date>2013-08-22T12:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Youtube for some persons and blocking it for others</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/allow-youtube-for-some-persons-and-blocking-it-for-others/m-p/14940#M10959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The tricky part is that a single session can only be identified as a single appid at a time. But also that a single session (well from the client point of view) can also change appid over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example unknown -&amp;gt; web-browsing -&amp;gt; youtube -&amp;gt; youtube-upload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar occurs also for facebook where facebook is not fully recognised until the user is logged in or is requesting more specific "deep" links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to make your black/whitelist successful you not only need multiple rules but also involve url-filtering to make the whitelist rules as narrow as possible and blacklist rules as broad as possible (along with placing them in correct order - PA reads the rules top-down first-match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think something like this should be sufficient:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Allow youtube for specific users&lt;/P&gt;&lt;P&gt;appid: youtube (or use an app-group or app-filter), web-browsing (so this rule is hit for these users in case main page of youtube isnt recognised as appid youtube)&lt;/P&gt;&lt;P&gt;service: application-default (or specify TCP80 and TCP443)&lt;/P&gt;&lt;P&gt;user: &amp;lt;specific users or group of users&amp;gt;&lt;/P&gt;&lt;P&gt;url: category: streaming media&lt;/P&gt;&lt;P&gt;action: allow&lt;/P&gt;&lt;P&gt;log: on session end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Block appids&lt;/P&gt;&lt;P&gt;appid: youtube&lt;/P&gt;&lt;P&gt;service: any&lt;/P&gt;&lt;P&gt;user: any&lt;/P&gt;&lt;P&gt;url: any&lt;/P&gt;&lt;P&gt;action: deny&lt;/P&gt;&lt;P&gt;log: on session end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Block urls&lt;/P&gt;&lt;P&gt;appid: any&lt;/P&gt;&lt;P&gt;service: any&lt;/P&gt;&lt;P&gt;user: any&lt;/P&gt;&lt;P&gt;url: youtube.com, *.youtube.com, &amp;lt;and other urls that should be here and/or categories&amp;gt;&lt;/P&gt;&lt;P&gt;action: deny&lt;/P&gt;&lt;P&gt;log: on session end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Allow regular traffic for all users&lt;/P&gt;&lt;P&gt;appid: web-browsing&lt;/P&gt;&lt;P&gt;service: application-default (or specify TCP80 and TCP443 and what other ports should be open for outbound traffic)&lt;/P&gt;&lt;P&gt;user: any&lt;/P&gt;&lt;P&gt;url: category: &amp;lt;allowed categories&amp;gt;&lt;/P&gt;&lt;P&gt;action: allow&lt;/P&gt;&lt;P&gt;log: on session end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Default drop&lt;/P&gt;&lt;P&gt;appid: any&lt;/P&gt;&lt;P&gt;service: any&lt;/P&gt;&lt;P&gt;user: any&lt;/P&gt;&lt;P&gt;url: any&lt;/P&gt;&lt;P&gt;action: deny&lt;/P&gt;&lt;P&gt;log: on session end&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 21:26:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/allow-youtube-for-some-persons-and-blocking-it-for-others/m-p/14940#M10959</guid>
      <dc:creator>mikand</dc:creator>
      <dc:date>2013-08-30T21:26:09Z</dc:date>
    </item>
  </channel>
</rss>

