Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting Browser Security Settings 1

Status
Not open for further replies.

rac2

Programmer
Apr 26, 2001
1,871
US
Is there a way to detect the security level set in the browser? I would like to check whether IE Privacy is set to Accepts All Cookies, Low, Medium, etc.
 
why would you want to detect such settings?

normally to find such settings you will have to write a code that will go against the setting.

e.g.:
to detect popup blocker we try to open a popup. If the window object comes back as empty then its safe to assume that a popup blocker was there.

similarly you will have to write code that will create a cookie and check the results...

Known is handfull, Unknown is worldfull
 
I have a process that works on Low and Accept All only. If I could detect this, then I could extend the process to take a different path when necessary. The requirement stems from convenience to the viewer.


Thanks for outlining the nature of the solution.

My process involves hidden frame, session cookie, content cookie, different domains, and https. I have not tried to identify the root cause of the difficulty. I think I will simply let the viewer decide that things are not working and give them a link to proceed to the next step.

Appreciate your help.
 
rac2 said:
I think I will simply let the viewer decide that things are not working and give them a link to proceed to the next step.
That's the right choice! I wish other developers were as accommodating.

Star for you.

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top