Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
1.00/5 (1 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

Mario
Posted
Updated 8-Apr-13 23:57pm
v2
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900