Solved

Change IE security setting programmatically

Posted on 2004-09-03
11
509 Views
Last Modified: 2008-01-09
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.
0
Comment
Question by:chandua
  • 3
  • 3
  • 2
  • +2
11 Comments
 
LVL 33

Accepted Solution

by:
snoyes_jw earned 40 total points
ID: 11976496
I hope not.  What would be the point of having a security setting if it could be disabled by the program?
0
 
LVL 9

Assisted Solution

by:riyasjef
riyasjef earned 30 total points
ID: 11976511
hi

this is not possible using javascript..

Riyasjef
0
 
LVL 23

Assisted Solution

by:Saqib Khan
Saqib Khan earned 30 total points
ID: 11976512
> 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:chandua
ID: 12000433
instead of changing the settings, is there a way to add the site to trusted sites programmatically/ through scripts.
0
 
LVL 33

Expert Comment

by:snoyes_jw
ID: 12000502
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
 

Author Comment

by:chandua
ID: 12000547
thats what i do now.
need to automate this layer if possible, thats why i posted this qtn.

0
 
LVL 33

Expert Comment

by:snoyes_jw
ID: 12000668
Well, it almost certaintly cannot be done.
0
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 12003132
we also do business with few sites. They email/Mail us Printed documents on how to Add site to Trusted sites:)
0
 

Author Comment

by:chandua
ID: 12312527
hi,

i solved the above isssue myself  using IEAK tool.

so i split the points to all 3.
riyasjef , adilkhan, snoyes_jw.
0
 
LVL 6

Expert Comment

by:sansoftura
ID: 13448353
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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question