We help IT Professionals succeed at work.

Group Policy: Adding sites to Security Zones

Imran Hashim
Imran Hashim asked
on
Medium Priority
4,842 Views
Last Modified: 2008-01-09
I am trying to create a group policy to add a site to Intranet Zone. The only option I receive from Group Policy is to import Security settings of Internet Explorer (User Configuration - Windows Settings - Internet Explorer Maintenance - Security - Security Zones and Content Ratings)

The problem is that if I import settings it will import all security settings. How can set a single site to be added to the Intranet Zone or Trusted Sites zone?
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2006

Commented:
Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page\Restricted Sites Zone\Allow active content over restricted protocols to access my computer

This policy setting allows you to manage whether a resource hosted on an admin-restricted protocol in the Trusted Sites Zone can run active content such as script, ActiveX, Java and Binary Behaviors. The list of restricted protocols may be set in the Trusted Sites Zone Restricted Protocols section under Network Protocol Lockdown policy.  If you enable this policy setting, no Trusted Sites Zone content accessed is affected, even for protocols on the restricted list. If you select Prompt from the drop-down box, the Information Bar will appear to allow control over questionable content accessed over any restricted protocols; content over other protocols is unaffected.  If you disable this policy setting, all attempts to access such content over the restricted protocols is blocked.  If you do not configure this policy setting, all attempts to access such content over the restricted protocols is blocked when the Network Protocol Lockdown security feature is enabled.

Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page\Site to Zone Assignment List

This policy setting allows you to manage a list of sites that you want to associate with a particular security zone.


do the above help you at all ??


Imran HashimSr. IT Infrastructure Consultant
CERTIFIED EXPERT

Author

Commented:
The first one - No

For the second one, I tried earlier today but it did not work. I checked that when we add a site to be considered as Intranet Site, it is added to the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\mydomain.com\www]
"http"=dword:00000001

This will add http://www.mydomain.com as Intranet site. The value for http is 1 here.

I tried to make a custom ADM file to enter this registry value to registry but could not. Any clues? May be my ADM file is not correct. Any suggestions?
Thanks.
CERTIFIED EXPERT
Top Expert 2006

Commented:
hmm not really man - havent really played with custom ADM's

when you add the sites does the reg key not get entered?
Imran HashimSr. IT Infrastructure Consultant
CERTIFIED EXPERT

Author

Commented:
Somehow, I figured out the solution. Created an ADM file and imported in the Group Policy and applied the Group Policy to Users OU. To see the options in the Group Policy, I had to do the following in Group Policy Editor. View --> Filtering --> Uncheck "Only show policy settings that can be fully managed". Copy the file to a new text file and save with .adm extension. To import in Group Policy, right click on Administrative Templates and select Add/Remove Templates and press Add button to add a new ADM.
;-----------------Copy from here-----------
CLASS USER
CATEGORY "Security Zone Sites"
      POLICY "Add Sites to Zone"
            KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\mydomain.com\www"
              EXPLAIN "Adds domain www.mydomain.com to Security Zones"
            PART "Security Zone" DROPDOWNLIST
                  VALUENAME "http"
                        ITEMLIST
                            NAME "Internet" VALUE NUMERIC  0
                            NAME "Intranet" VALUE NUMERIC  1 DEFAULT
                        NAME "Trusted" VALUE NUMERIC 2
                        NAME "Non Trusted" VALUE NUMERIC 3
                        END ITEMLIST
              END PART
      END POLICY                  
END CATEGORY
;------------------End of File----------------
CERTIFIED EXPERT
Top Expert 2006

Commented:
ah i c, i didnt realise you were having trouble viewing the custom policies... i have one that was written by a colleague for network drive mapping. i just meant i had no experience in writing them - that filtering option had me stumped for a while, if i'd known that was the prob i could have pointed you to it, but you've done well mate
Commented:
PAQed with points refunded (500)

GranMod
Community Support Moderator

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.