Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ COM
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 9-Apr-13 0:55am
Edited 9-Apr-13 0:57am
Philippe Mori at 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 at 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
0 OriginalGriff 445
1 Sergey Alexandrovich Kryukov 322
2 Maciej Los 275
3 CHill60 195
4 King Fisher 179
0 OriginalGriff 240
1 Maciej Los 95
2 Sascha Lefévre 85
3 King Fisher 70
4 F-ES Sitecore 55

Advertise | Privacy | Mobile
Web03 | 2.8.150331.1 | Last Updated 9 Apr 2013
Copyright © CodeProject, 1999-2015
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