Solved

Change IE security setting programmatically

Posted on 2004-09-03
11
507 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:adilkhan
adilkhan 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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:adilkhan
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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-…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

947 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now