Change IE security setting programmatically

Hi,
is there a way to change the IE security settings
Tools- Internet Options - Security - Internet - Custom Level - "initialize and script activex controls not marked as safe" to be "enabled", by default it is disabled.

Thanks.
chanduaAsked:
Who is Participating?
 
snoyes_jwConnect With a Mentor Commented:
I hope not.  What would be the point of having a security setting if it could be disabled by the program?
0
 
riyasjefConnect With a Mentor Commented:
hi

this is not possible using javascript..

Riyasjef
0
 
Saqib KhanConnect With a Mentor Senior DeveloperCommented:
> I hope not

100 % NOT. this would be a VIOLATION. Changing Users Settings without permission. Imagine i write  a ActiveX Control to Delete his/her C: Drive without User's Input?

Users have to Accept ActiveX Downloads.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
chanduaAuthor Commented:
instead of changing the settings, is there a way to add the site to trusted sites programmatically/ through scripts.
0
 
snoyes_jwCommented:
Not if Microsoft wrote their code properly.  The ability to change any security settings without user intervention would allow miscreants to run arbitrary code on the user's computer.  I suggest you simply alert the user that your site requires ActiveX, and show them how to change their security settings manually.
0
 
chanduaAuthor Commented:
thats what i do now.
need to automate this layer if possible, thats why i posted this qtn.

0
 
snoyes_jwCommented:
Well, it almost certaintly cannot be done.
0
 
Saqib KhanSenior DeveloperCommented:
we also do business with few sites. They email/Mail us Printed documents on how to Add site to Trusted sites:)
0
 
chanduaAuthor Commented:
hi,

i solved the above isssue myself  using IEAK tool.

so i split the points to all 3.
riyasjef , adilkhan, snoyes_jw.
0
 
sansofturaCommented:
hi chandua,
Can you please tell me how did you solved the issue using IEAK tool. I am also trying to change the IE security settings programatically, but did not find a way.

thanks in advance



0
All Courses

From novice to tech pro — start learning today.