I would like to know how to programmatically lower my application rights. So, let's say someone with administrator privileges runs my program, I would like my program to still run in a normal user environment or with less privileges that I do not need. Also, could you explain what is limited in the lower trust environment?
Edit:. Curtisk suggested permview.exe to view permissions for applications that lead me in the right direction to the new permcalc.exe tool - http://msdn.microsoft.com/en-us/library/ms165077(VS.80).aspx . Thanks again.
source share