cancel
Showing results for 
Search instead for 
Did you mean: 
ittech
Level 13

Sites that point to other sites

Jump to solution

Hello again. I am having trouble with allow some of our users access to a certain website. Basically, its a social site for professionals that our clients apparently use to watch training videos. So, I allowed the site through the URL Filter and the Meda Filter Type: download. Everything was accessible on the site except for the videos. Turns out the videos are being hosted on YouTube (i think hosted is the right term?). I tried just adding youtube.com to the Media Filter Type: download, but that still didn't work. I had to add youtube.com to the URL Filter also. This is a problem because now anyone on my access list can get to youtube. So, long story short:

Is there a way to allow access to youtube.com, but only if it's through the professionals.com site?

0 Kudos
1 Solution

Accepted Solutions
eelsasser
Level 15

Re: Sites that point to other sites

Jump to solution

Ok, it's not just the referer you have to deal with. The Flash player doesn't use the referer for us to catch and allow. It calls youtube directly and puts the embedded site into a parameter, so we have to accomodate that. It also calls the video player without any other reference to the site so we have to allow that too.

Create a wildcard list that has the sites you want to allow videos from:

Embedded Video Sites;

*www.firefighternation.com*

Create a rule set like this and make sure it's only Request Cycle.

Allow Embedded videos from certain sites
Enabled
Applies to Requests: True, Responses: False, Embedded Objects: False
Always
EnabledName/CriteriaAction
EnabledAllow embedded videos from Embedded Video Sites
1: Headers.GetHeader("referer") matches in list Embedded Video Sites
2: OR URL.GetParameter("eurl") matches in list Embedded Video Sites
3: OR URL matches *.youtube.com/videoplayback?*
Stop Rule Set
EnabledBlock Streaming
1: URL.Categories contains
Block<URL Blocked>


If you have any other sites that do this, add them to the Embedded Video Sites list.

0 Kudos
16 Replies
McAfee Employee

Re: Sites that point to other sites

Jump to solution

If Header.Get(Referrer) matches professionals.com, then stop rule set might work.

best,

Michael

0 Kudos
ittech
Level 13

Re: Sites that point to other sites

Jump to solution

I haven't gotten that to work in a config like this

If

url.host matches *.professionals.com

Header.Get(Refferer) matches *.professionals.com

and Authentication.username is on list Professionals List

then Stop Rule Set

I tried the combinations of

a and b and c

(a or b) and c

Niether worked

Any other ideas?

Thanks for the assistance too!

0 Kudos
ittech
Level 13

Re: Sites that point to other sites

Jump to solution

I also tried

If

url.host matches *.youtube.com

Header.Get(Refferer) matches *.professionals.com

then Stop Rule Set

That didn't work either.

0 Kudos
trishoar
Level 11

Re: Sites that point to other sites

Jump to solution

Hi,

it should be

url.host matches *.youtube.com

as the refferer is sending you from professionals.com to youtube.com

I'd also want to ensure that this rule was only being tested for when for a specific set of users. To do that I'd have the rule set only apply for

Authentication.username is on list Professionals List

With out something like that you will find that every one in the orgnaisation is being tested for this for all sites they visit. This is a waste of the servers resources and could ahve a negtive impact on performance.

Tris

0 Kudos
ittech
Level 13

Re: Sites that point to other sites

Jump to solution

Its actually only being tested on one user until its working properly.

0 Kudos
ittech
Level 13

Re: Sites that point to other sites

Jump to solution

I would also like to check that I'm setting up the reffer rule correctly. Because I don't have a Header.Get(Referrer).

I'm using Header.Get(String) with a Parameter value of Refferer. It ends up looking like Header.Get("Referrer").

I don't mean to sound dense, but I just want to make sure I'm not missing anything.

0 Kudos
eelsasser
Level 15

Re: Sites that point to other sites

Jump to solution

The header for referer is spelled "referer" as in:

Referer: http://www.google.com/

You may have a spelling problem.

0 Kudos
ittech
Level 13

Re: Sites that point to other sites

Jump to solution

Good call but, still a no go.

Don't know if it'll help but I attached the HTML code of the site

Message was edited by: ittech

Attached the .htm file on 8/13/10 4:13:43 PM EDT
0 Kudos
eelsasser
Level 15

Re: Sites that point to other sites

Jump to solution

are we talking about the right site? When i go to professionals.com, it's a parked domain site and doesn't describe anything you've mentioned about videos.

0 Kudos