15 Mar
Posted by: Christian Wimmer in: JEDI Windows Security Code Lib
Some functions (like ExitWindowsEx) need a privilege (SE_SHUTDOWN_NAME) to be enabled to work properly. With the help of JWSCL this task is made very easy. JWSCL provides several ways to enable and disable privileges. Use the methods of TJwSecurityToken Use the function JWEnablePrivilege Use the interface IJwPrivilegeScope
13 Mar
Posted by: Christian Wimmer in: Common, JEDI Windows API Headers, JEDI Windows Security Code Lib
Today I want to introduce a really useful application from the examples in JEDI Windows Security Code Library. In Windows Vista there is no possible way to run a program elevated from the command line. But today there is a cure. I call it RunEl, which stands for Run Elevated. This simple program uses Delphi, [...]
SID is the short form of Security Identifier. It is used to uniquely name a user (like Alice or Bob), a group (like Users or Administrators) or a system account (like SYSTEM or Network Service). Important to understand is that not only human users get a SID but also system parts like the System or [...]
04 Mar
Posted by: Christian Wimmer in: JEDI Windows Security Code Lib
Many developers know that mysterious parameter some WinAPI function offer to use. What I am talking about is a parameter called lpSecurityAttributes. The documentation states that it allows to change the security descriptor of the desired element. The most known function is CreateFile which I want to use here. It allows to create a file [...]
04 Mar
Posted by: Christian Wimmer in: JEDI Windows Security Code Lib
Windows Vista contains a new feature that allows an administrator to work with less privileges. Every time a user who belongs to the administrator group logs on, the LogonUser API creates two tokens. One tokens contains the real power of the user and the second contains only restricted access. We call such a token restricted [...]
03 Mar
Posted by: Christian Wimmer in: JEDI Windows Security Code Lib
Remko creates this fabolous application to see all the Terminal Server things we usually miss. This program does use the JWAPI and JWSCL. Find out more here.
The JWSCL does only need a minor setup. You need to create a binary unit file (DCU-file) for the JEDI API Headers as described here. You must setup JEDI API first before you can start with JWSCL! Otherwise if you set Delphi source path to include JwaWindows.pas you’ll get an error like: Incompatible types: JwaWindows.XXX [...]
The documentation of JWSCL is available online. JWSCL Online documentation We will update it from time to time. This may lead to different features between the release packages and the Subversion repository.
The JEDI Windows Security Code Library Release of Revision 316 is now available to download on Sourceforge. Direct link ~8.5 MiB Also read this and find out how to setup the library! The JWSCL Download also contains the JWAPI Revision 315. Changes: many bugfixes added AuthZ API added Terminal Service API added more examples added extended [...]
I just found this complete example project. It shows how to get the integrity label of a file/folder in Windows Vista. Get Vista integrity label source.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Oct | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||