• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 434
  • Last Modified:

assembly manifest files

an ex-programmer created an executable file and it could only run by someone who belong to the domain admin group. When I go through the files, I saw there's an assembly manifest file that contains interesting info (see below) that may be related to my quesion. I want all users (not domain admin group) to be able to run this executable file from their computers. We have mix of windows xp and 7. Thanks!!

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
        <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly
0
ithawaii
Asked:
ithawaii
  • 6
  • 6
1 Solution
 
Bob LearnedCommented:
That looks more like the manifest needed for elevated privileges for UAC (User Access Control) on Windows Vista/Windows 7.

Adding a UAC Manifest to Managed Code
http://blogs.msdn.com/b/shawnfa/archive/2006/04/06/568563.aspx
0
 
ithawaiiAuthor Commented:
is there a way to find out which file has the permission control? at this moment, only users belong to "Domain Administrator" can execute the file.
0
 
Bob LearnedCommented:
Could there be some kind of Code Access Security applied from the domain level?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
ithawaiiAuthor Commented:
attached is the screenshot of the executable file. How do i know where to check for Code Access Security? if not possible, is there a way to reset the Code Access Security? Thanks for all the helps.  


Snapshot.png
0
 
ithawaiiAuthor Commented:
also attached is the screenshot of the properties of the executable file. Is there anything here that i can change as far as security permission goes?
Snapshot.png
0
 
Bob LearnedCommented:
What happens if a non-admin person runs the application?
0
 
ithawaiiAuthor Commented:
If run by non-admin user, the application would open and close very quickly with no error.
0
 
Bob LearnedCommented:
Are you able to step through debugging the application, or does the shutdown occur before any application code executes?
0
 
ithawaiiAuthor Commented:
The file that they open is an exe file. So, there's really no way to do the step-in debug. When a non-admin user opens it, the application pops up for 1 second then close right away. Looks like there's a line in the code to tell it to check for credential, and if the user doesn't belong to domain admin then close the application. This is the part where I need help. I want to know what is controlling this security check process. Thanks again.  
0
 
Bob LearnedCommented:
If you are able to step through the code in the development environment's debugger, there might be a clue.  I am still digging through the memory cell's in my brain to remember any other pertinent information...
0
 
Bob LearnedCommented:
If you open a Visual Studio Command Prompt, you can run the CASPOL utility with this command:

caspol -l

This command will list Code Access Security information, such as named permission sets and full trust assemblies.  You can look through the output to see if there is anything specific to your assembly.
0
 
ithawaiiAuthor Commented:
even though it doesn't help me to address the issue but the provided info is very helpful for future reference.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now