Question Regarding ClickOnce Security Settings

I have a solution with 3 projects.

Solution 'TestProgram' (3 projects)
- TestProgram
+ TestProgram
+ TestProgram.Configuration (class library)
+ TestProgram.MySQLCustomLib (class library)

Ok, now my question is when I set the 'ClickOnce Security' settings for the startup project (TestProgram) and set it to have 'Full Trust' - does this permission transfer to the other projects such as Configuration and MySQLCustomLib?

If it doesn't, how can I get the permissions to transfer (assembly signing?) or how do I go about setting their permissions since their property pages do not have a 'Security' pane?

Even though I set the program to Full Trust does it default to partial trust since it is being installed over the Internet?

[771 byte] By [JBrown9264] at [2007-12-16]
# 1

If the class libraries are a part of the application i.e. they are included in the application manifest they will get the same permission specifed in the application manifest, in this case Full Trust. The ClickOnce permission apply to the application and all dlls carried by the app get the same permissions. Of course a call in the library might restricts the permission it wants in which case it will not get Full Trust.

Even though I set the program to Full Trust does it default to partial trust since it is being installed over the Internet?

No it does not default to Partial Trust. User installing the app with get a promt (called the trust manager prompt) specifying that the app needs elevated permissions and that it comes from the internet. If the user agress to install the app the app is run with the permission set requested in the application manifest.

Thanks,
Sameer

SameerMurudkar at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...