Many people add a “requireAdministrator” manifest to their Application to elevate their application in Vista. However itis not needed all the time so there is a second way that allows  to elevate the program even in Windows XP. The solution is to restart the application with ShellExecute and the “runas” verb. In Vista you’ll get [...]

Do you need help? We can support you creating application using JWA and/or JWSCL. Visit the Get Service site on SourceForge for more information like pricing.

  • Comments Off

This simple code excerpt can only be run under SYSTEM account (say in a service). It retrieves the token from the logged on user – especially the user at the physical console. Or in other words the user data of the person that sits in front of the computer. The main code which does the [...]

The units from JWSCL

This is just an index of available units of the JEDI Windows Security Code Library. Find out more about these units in the corresponding help documentation by clicking on it. The help is also available from the JWSCL doc site. And if you seek an offline version with search function, download it directly from the [...]

ACE order

The order of access control elements in an access control list is the following: explicit Deny elements explicit Allow elements inherited Deny elements inherited Deny elements It is also called the canonical order.

How to use a Security Attribute structure Part #2

This discussion continues How to use a SecurityAttribute structure. Last time we used the SecurityAttribute parameter in CreateFile to change the security descriptor of the newly created file. However this approach did not add inherited access control elements from the parent folder. We are about to change that. Filesystem and Registry-key inheritance is implemented since [...]

It is impossible to use SetThreadDesktop and the VCL at the same time because a thread can only show windows on one desktop at a time. However VCL is not written for the use with multiple threads, so there is no way to show Delphi forms of same process on two different desktops. SetThreadDesktop describes [...]

This little article shows you how to elevate an application using JWSCL. There are two possible ways to elevate an application : Elevate the application from the beginning Elevate special parts of your application Both ways needs a manifest to be included into your application. 1. Elevate the application from the beginning The easiest way [...]

How to get the user’s SID.

There is not much to write about how you can obtain the user’s SID.

Dear visitor, This page is all about the Joint Endavour of Delphi Innovators – JEDI. So what we are talking about is all about Delphi and the Windows API. There are plenty articles about C, C++, C# and Visual Basic which describes WinAPI problems everywhere over the Internet. The JEDI API Library (JWA) contains many [...]

Paypal donation (EUR)

Archives

 

February 2012
M T W T F S S
« Oct    
 12345
6789101112
13141516171819
20212223242526
272829