all groups > dotnet distributed apps > june 2006 >
You're in the

dotnet distributed apps

group:

ClickOnce app not being elevated to Ful Trust?


ClickOnce app not being elevated to Ful Trust? DugrHill
6/23/2006 12:24:01 PM
dotnet distributed apps: I have created a ClickOnce application that is set as a FullTrust
application. When an XP Limited User installs this application they are
prompted with the "Are you sure you want to install this application" type
warning. If the Limited user clicks the YES button and installs the app,
shouldn’t the app then have full trust and be able to do anything?

It's not working that way for me. I am still getting permission errors when
this application tries to create a file in the root (C:\).

It seems to be able to write to the registry (HkeyLocalUser) just fine.

Why can't his supposed full trust app create a file in C:?

Is there a step I am missing?

What other types of things may I not be able to do?

Also, we have a trusted publisher certificate that is used to sign our
ClickOnce applications. What do I need to do in order to have any application
operate in full trust mode if it’s signed with our certificate?

Thanks for any help in this area.

Thanks!
RE: ClickOnce app not being elevated to Ful Trust? lukezhan NO[at]SPAM online.microsoft.com
6/26/2006 12:00:00 AM
Hello,

Does the user has permission to Write on the C:\? Even an assembly has
fulltrust psermission, it means it can perform Disk I/O work, it also rely
on the permission of current user. If the user didn't have enough
permission, it will also raise a permssion error. To determine if a user
has write permission on C:\, he can simple create a Text file in notepad,
and save it on C:\.

Regards,

Luke Zhang
Microsoft Online Community Lead

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
AddThis Social Bookmark Button