Click here to Skip to main content
13,195,026 members (87,369 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have a standard user that running Internet Explorer (going to a web site)
loads my COM DLL, but for some functionalities I need that DLL must ask Administrator Privileges to the user( admin login and pwd)or if the user is already an admin just elevate the privileges to proceed.
How to do that, since the web site need to retrive/put some info on the user pc but only having admin privileges?

Im Using VS2010 C++

thank you a lot in advance

Posted 8-Apr-13 23:55pm
Updated 8-Apr-13 23:57pm
Philippe Mori 9-Apr-13 8:39am
It does not make sense at all to elevate Internet Explorer to administration priviledge at it would make it so much less secure to browse the web. In fact, most regular applications does not even need administration priviledge.

The security of Windows Explorer is to protect the end-user and there is absolutly no valid reason to even want to go around it.
PierMario 9-Apr-13 9:03am
I forgot to specify that when a standar user go on OUR website , the asp page load
OUR COM DLL, at this point , in order to modify the pc filesystem/registry , the user must have admin prvilege : how to do that without tell something like "pls run IE as admin "?? but programmatically ask the user to insert admin login & pwd to proceed ?Other soltion are welcome. Best regards

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171018.2 | Last Updated 9 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100