Manifest Files



Hi All,

I'm fairly new to app security and manifests. Hopefully, someone here can
explain to me what's going on. I'm working with a test app: "MyApp.exe".
Couple Q's:

1) When I turn on the security project setting in VS2005 for "Enable
ClickOnce Security Settings" and then choose; " This is a full trust
application" (I realize normally we should not do that), when I compile the
app, it produces "MyApp.exe.manifest" & "MyApp.application" files. When I
look in the "Properties" folder in the Solution Explorer I can also see it
has an app.manifest file whose BuildAction is set to Embedded Resource. I'm
confused - if the manifest file is embedded into the assembly, why are the
two files mentioned above produced?

2) Also, if this were a releasing application for distribution, do I need to
include thiese 2 files with the distro if the manifest is really embedded?

3) If I choose "This is a partial trust application" and then include some
special permissions, ILDASM seems to show the exactly the same mainfest
information as when it's a full trust app. That said, the app.manifest file
shown in the VS2005 Solution Explorer appears to record the permission
changes, but I can't find them in ILDASM. What's going on here? Please
educate me.

TIA,

--
John C. Bowman
Software Engineer II
Thermo Fisher Scientific
<Remove this before reply> john.bowman@xxxxxxxxxxxxxxxx


WORLDWIDE CONFIDENTIALITY NOTE: Dissemination, distribution or copying of
this e-mail or the information herein by anyone other than the intended
recipient, or an employee or agent of a system responsible for delivering
the message to the intended recipient, is prohibited. If you are not the
intended recipient, please inform the sender and delete all copies.


.



Relevant Pages

  • Re: Vista registry programming
    ... Vista-like noises (it's easy...you just go to the manifest section of the MSDN, ... currently-shipping system even though its a new app). ... The root key of our registry tree had modified security to ... not only are the registry security ...
    (microsoft.public.vc.mfc)
  • Re: Some interesting things about XML...
    ... Each APRD Chain may contain a variable number of entries. ... > gdi.dll does some interesting things with .manifest files. ... > Microsoft has also programmed Internet Explorer to read the ... > same folder the app resides in, so if you had an app titled ...
    (alt.lang.asm)
  • Re: Manifest+MFC80.dll = neue DLL-Hölle?
    ... Meiner Meinung nach beseitigt gerade das Manifest das DLL Problem. ... dann startet die App nicht. ... dass die CRT aei der 8.0 verwendet. ...
    (microsoft.public.de.vc)
  • Re: Using mandatory libraries (custom class loading vs. expanding libraries)
    ... There's absolutely nothing special about my app setup really. ... the 2007 "Ant in Action" is just about to be ... The author makes some good points about using an index file ... don't use index="true" alone when using a manifest that has ...
    (comp.lang.java.programmer)
  • Re: Problem with manifest file under vista basic home
    ... Your manifest looks similar to mine. ... I don't have an answer for you, but FWIW I have a small app that I just ... I can understand the need for the elevation prompt. ... allow the app to run as an admin. ...
    (microsoft.public.vb.general.discussion)

Quantcast