Click here to Skip to main content
Rate this: bad
good
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
 
Mario
Posted 9-Apr-13 0:55am
Edited 9-Apr-13 0:57am
v2
Comments
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 319
1 Kornfeld Eliyahu Peter 265
2 Maciej Los 249
3 BillWoodruff 205
4 Sergey Alexandrovich Kryukov 175
0 OriginalGriff 5,107
1 DamithSL 4,157
2 Maciej Los 3,595
3 Kornfeld Eliyahu Peter 3,450
4 Sergey Alexandrovich Kryukov 2,741


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 9 Apr 2013
Copyright © CodeProject, 1999-2014
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