Page 1 of 1 1
Topic Options
#156288 - 2006-01-30 05:40 PM Internet Explorer
josgan Offline
Fresh Scripter

Registered: 2004-06-28
Posts: 10
How can i set security settings in Internet Explorer from a kix scripts? I'm trying to add a site to the trusted list and customize the security settings.
Top
#156289 - 2006-01-30 05:50 PM Re: Internet Explorer
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
Restricted Sites
Code:

$RestSites = 'webshots.com','cometcursor.com','cometsystems.com','cometzone.com','hotbar.com','bonzi.com',
'date-manager.com','doubleclick.com','doubleclick.net','ezula.com','lop.com','new.net','topmoxie.com',
'gator.com','gatorcorporation.com','gatoradvertisinginformationnetwork.com','offercompanion.com',
'mysearch.com','mysearchnow.com','mysearchstart.com','mywebsearch.com','precision-time.com','valueclick.com',
'websearch.com','aol.com','aim.com','weatherbug.com','whenusearch.com','real.com','referralware.com'
for each $Site in $RestSites
$=writevalue('hkcu\software\microsft\windows\currentversion\Internet Settings\ZoneMap\Domains\'+$site,'*',4,REG_DWORD)
next



make the 4 in the writevalue statement into a 2 to make it trusted
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#156290 - 2006-01-30 06:06 PM Re: Internet Explorer
josgan Offline
Fresh Scripter

Registered: 2004-06-28
Posts: 10
is there anyway to set "display mixed content" to enable?
Top
#156291 - 2006-01-30 07:08 PM Re: Internet Explorer
josgan Offline
Fresh Scripter

Registered: 2004-06-28
Posts: 10
somethings like this?
writevalue('hkcu\software\microsoft\windows\currentversion\Internet Settings\WarnOnZoneCrossing,'*',1,REG_DWORD)

Top
#156292 - 2006-01-30 08:08 PM Re: Internet Explorer
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
This will set the display of mixed content to enable for the internet zone. Tested this on XP SP2 and IE6. Don't know if it works on other version.
You could use regshot to find the reg stuff to change, I did and it works great.

Regshot at majorgeeks.com

Code:

;sets display mixed content to enabled in the internet zone (IE6). 0 = prompt, 1 = enabled, 3 = disabled.
$rc = WriteValue("HKU\" + @SID + "\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3", "1609", "1", "REG_DWORD")

_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1188 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.055 seconds in which 0.027 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org