Page 1 of 1
[Resolved] Only allow a site when connected to it?
Posted: Fri Sep 23, 2011 11:39 am
by Mr.Gump
I would like to allow Facebook but only when I am actually using the main website and I do not want to allow it any other time. Is this possible?
Re: Can NS be taught to only allow a site when connected to
Posted: Fri Sep 23, 2011 4:26 pm
by therube
Re: Can NS be taught to only allow a site when connected to
Posted: Fri Sep 23, 2011 10:11 pm
by GµårÐïåñ
First off, this might be a better to look for your immediate needs:
FAQ 8.11 and more specifically the rule that you can place under ABE User section
Code: Select all
# facebook.com containment rule
# This rule allows Facebook scripts objects and frames to be included only
# from Facebook pages and apps
Site .facebook.com .fbcdn.net .facebook.net
Accept from .facebook.com .fbcdn.net .facebook.net
Deny INCLUSION
and if you play games, you would add them to the end of the accept from line as follows, this can get complicated on some games, so make sure you want to do this, and have the time to invest:
Code: Select all
# facebook.com containment rule
# This rule allows Facebook scripts objects and frames to be included only
# from Facebook pages and apps
Site .facebook.com .fbcdn.net .facebook.net
Accept from .facebook.com .fbcdn.net .facebook.net .mafiawars.com .eamobile.com
Deny INCLUSION
In this case Mafia Wars was added as well as EA but you often need to add other ones like .zynga for the resources, images and scripts, and the fact that often the games are setup as facebook.mafiawars.zynga.com and run inside iframe at FB so they need to be allowed to work. Anyway, good luck.
Re: Can NS be taught to only allow a site when connected to
Posted: Sat Sep 24, 2011 7:32 am
by Mr.Gump
thank you it's all working now
