<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS]]></title><description><![CDATA[<p>Hat jemand Kentnisse bezüglich des WinVista Sicherheits-Konzeptes ?</p>
<p>Ich lese mit</p>
<pre><code class="language-cpp">hFile = CreateFile(MyFile, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT, NULL);
</code></pre>
<p>und</p>
<pre><code class="language-cpp">bool bRet = DeviceIoControl(hFile, FSCTL_GET_REPARSE_POINT, NULL, 0, rdata, dwBufSize, &amp;dwRetLen, NULL);
</code></pre>
<p>den PrintName (Zielverzeichnis) eines REPARSE_POINTS aus.</p>
<p>Was ich nicht verstehe ist, dass die Anwendung das 'SE_BACKUP_NAME' Privileg braucht und dann trotzdem Admin-Rechte verlangt.<br />
Wenn das Privileg nicht gesetzt ist und das Programm als Admin läuft, funktioniert´s auch nicht...</p>
<p>Admin-Rechte und trotzdem Privileg ? MSDN hat auch keinen Hinweis dazu.</p>
<p>(ReparsePoints bei NTFS unterliegen laut Linux-Quellen dem Betriebsgeheimnis von M$)</p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/206639/winvista-sicherheits-konzept-reparse_points</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 19:31:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/206639.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 Feb 2008 08:02:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 08:02:07 GMT]]></title><description><![CDATA[<p>Hat jemand Kentnisse bezüglich des WinVista Sicherheits-Konzeptes ?</p>
<p>Ich lese mit</p>
<pre><code class="language-cpp">hFile = CreateFile(MyFile, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT, NULL);
</code></pre>
<p>und</p>
<pre><code class="language-cpp">bool bRet = DeviceIoControl(hFile, FSCTL_GET_REPARSE_POINT, NULL, 0, rdata, dwBufSize, &amp;dwRetLen, NULL);
</code></pre>
<p>den PrintName (Zielverzeichnis) eines REPARSE_POINTS aus.</p>
<p>Was ich nicht verstehe ist, dass die Anwendung das 'SE_BACKUP_NAME' Privileg braucht und dann trotzdem Admin-Rechte verlangt.<br />
Wenn das Privileg nicht gesetzt ist und das Programm als Admin läuft, funktioniert´s auch nicht...</p>
<p>Admin-Rechte und trotzdem Privileg ? MSDN hat auch keinen Hinweis dazu.</p>
<p>(ReparsePoints bei NTFS unterliegen laut Linux-Quellen dem Betriebsgeheimnis von M$)</p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1463751</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1463751</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 08:02:07 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 09:27:47 GMT]]></title><description><![CDATA[<p>Woraus schließt Du, dass Adim in Rechte benötigt werden?</p>
<p>Das Privileg SeBackupPrivilege sollte genügen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1463792</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1463792</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 27 Feb 2008 09:27:47 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 09:48:16 GMT]]></title><description><![CDATA[<p>Wenn das Prog ohne Admin-Rechte läuft gibt´s keine Ausgabe.<br />
Mit Admin-Rechten funktionierts.</p>
<p>Hatte ich doch schon erwähnt oder ?</p>
<p>Ich vermute nicht, sondern hab es ausprobiert.</p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1463806</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1463806</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 09:48:16 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 10:19:22 GMT]]></title><description><![CDATA[<p>Hier die SchreenShots und der QuellCode...</p>
<p><a href="http://www.eisbeer.de/screenshot_0011.jpg" rel="nofollow">http://www.eisbeer.de/screenshot_0011.jpg</a></p>
<pre><code class="language-cpp">//---------------------------------------------------------------------------

#include &lt;vcl.h&gt;
#pragma hdrstop

#include &quot;Unit1.h&quot;

#include &lt;winIOCtl.h&gt; //DeviceIoControl
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource &quot;*.dfm&quot;
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
typedef struct _REPARSE_DATA_BUFFER {
  ULONG  ReparseTag; 
  USHORT  ReparseDataLength;
  USHORT  Reserved; 
  union {
    struct { 
      USHORT  SubstituteNameOffset;
      USHORT  SubstituteNameLength; 
      USHORT  PrintNameOffset;
      USHORT  PrintNameLength; 
      WCHAR  PathBuffer[1]; 
      } SymbolicLinkReparseBuffer;
    struct { 
      USHORT  SubstituteNameOffset;
      USHORT  SubstituteNameLength; 
      USHORT  PrintNameOffset;
      USHORT  PrintNameLength;
      WCHAR  PathBuffer[1];
      } MountPointReparseBuffer;
    struct {
      UCHAR  DataBuffer[1];
    } GenericReparseBuffer;
  }; 
} REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;

//--WinNT.h VisualStudio 2008
#define IO_REPARSE_TAG_MOUNT_POINT              (0xA0000003L)       
#define IO_REPARSE_TAG_HSM                      (0xC0000004L)       
#define IO_REPARSE_TAG_SIS                      (0x80000007L)       
#define IO_REPARSE_TAG_DFS                      (0x8000000AL)       
#define IO_REPARSE_TAG_SYMLINK                  (0xA000000CL)       
#define IO_REPARSE_TAG_DFSR                     (0x80000012L)
//--

PrivilegSetzen(SE_BACKUP_NAME,TRUE);
HANDLE hFile;
REPARSE_DATA_BUFFER* buffer;

LPCTSTR MyFile = Form1-&gt;Edit1-&gt;Text.c_str(); //const char*

hFile = CreateFile(MyFile, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT, NULL);

if (hFile == INVALID_HANDLE_VALUE)
{
       LPVOID lpMsgBuf; //Puffer anlegen

AnsiString ErrorMessage = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,
                                        NULL,
                                        GetLastError(),
                                        MAKELANGID(LANG_NEUTRAL,
                                        SUBLANG_DEFAULT), // Standard Sprache
                                        (LPTSTR) &amp;lpMsgBuf,
                                        0,
                                        NULL
                                        );

if(ErrorMessage !=0)
{
AnsiString text = &quot;--&quot;;
AppendStr(text,&quot;Felher CreateFile--&quot;);
AppendStr(text,ErrorMessage.c_str());
Form1-&gt;Memo1-&gt;Lines-&gt;Add(text);
}
}

//CloseHandle(hFile);

DWORD dwBufSize = MAXIMUM_REPARSE_DATA_BUFFER_SIZE; 
REPARSE_DATA_BUFFER* rdata;
rdata = (REPARSE_DATA_BUFFER*) malloc(dwBufSize);
DWORD dwRetLen;

bool bRet = DeviceIoControl(hFile, FSCTL_GET_REPARSE_POINT, NULL, 0, rdata, dwBufSize, &amp;dwRetLen, NULL);

if (bRet == false)
{
       LPVOID lpMsgBuf; //Puffer anlegen

AnsiString ErrorMessage = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,
                                        NULL,
                                        GetLastError(),
                                        MAKELANGID(LANG_NEUTRAL,
                                        SUBLANG_DEFAULT), // Standard Sprache
                                        (LPTSTR) &amp;lpMsgBuf,
                                        0,
                                        NULL
                                        );

if(ErrorMessage !=0)
{
AnsiString text = &quot;--&quot;;
AppendStr(text,&quot;Felher DeviceIOControl--&quot;);
AppendStr(text,ErrorMessage.c_str());
Form1-&gt;Memo1-&gt;Lines-&gt;Add(text);
}
}

CloseHandle(hFile);

  switch(rdata-&gt;ReparseTag) 
  { 
  case IO_REPARSE_TAG_MOUNT_POINT:
     Form1-&gt;Label4-&gt;Caption = &quot;MOUNT_POINT&quot;;
    break;
  case IO_REPARSE_TAG_HSM: 
    Form1-&gt;Label4-&gt;Caption = &quot;HSM&quot;;
    break; 
  case IO_REPARSE_TAG_SIS: 
    Form1-&gt;Label4-&gt;Caption = &quot;SIS&quot;;
    break; 
  case IO_REPARSE_TAG_SYMLINK:
    Form1-&gt;Label4-&gt;Caption = &quot;SYMLINK&quot;;
    break;
  case IO_REPARSE_TAG_DFSR:
    Form1-&gt;Label4-&gt;Caption = &quot;DFSR&quot;;
    break;
  case IO_REPARSE_TAG_DFS:
    Form1-&gt;Label4-&gt;Caption = &quot;DFS&quot;;
    break;
  default: 
    Form1-&gt;Label4-&gt;Caption = &quot;unknown&quot;;
    break;
  } 

  if (IsReparseTagMicrosoft(rdata-&gt;ReparseTag)) 
  { 
    size_t slen = rdata-&gt;MountPointReparseBuffer.SubstituteNameLength / sizeof(WCHAR); 
    WCHAR *szSubName = new WCHAR[slen+1]; 
    wcsncpy(szSubName, &amp;rdata-&gt;MountPointReparseBuffer.PathBuffer[rdata-&gt;MountPointReparseBuffer.SubstituteNameOffset / sizeof(WCHAR)], slen); 
    szSubName[slen] = 0; 
    Form1-&gt;Label5-&gt;Caption = szSubName;
    delete [] szSubName;

    size_t plen = rdata-&gt;MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR); 
    WCHAR *szPrintName = new WCHAR[plen+1]; 
    wcsncpy(szPrintName, &amp;rdata-&gt;MountPointReparseBuffer.PathBuffer[rdata-&gt;MountPointReparseBuffer.PrintNameOffset / sizeof(WCHAR)], plen); 
    szPrintName[plen] = 0; 
    Form1-&gt;Label6-&gt;Caption = szPrintName;
    delete [] szPrintName; 
  } 
  else 
  { 
  Form1-&gt;Memo1-&gt;Lines-&gt;Add(&quot;Not a Microsoft-reparse point - could not query data!&quot;);
  }

  free(rdata);
}
//---------------------------------------------------------------------------

void __fastcall TForm1::FormCreate(TObject *Sender)
{
Form1-&gt;BorderStyle = bsSingle; //Fenster kann nicht mehr skalliert werden
Form1-&gt;BorderIcons &gt;&gt; biMaximize; //Form 1 MaximierenButton aus
Form1-&gt;BorderIcons &gt;&gt; biMinimize; //Form 1 MinimierenButton aus
Form1-&gt;Position = poScreenCenter;
Form1-&gt;Caption = &quot;Reparse_Point&quot;;
Form1-&gt;Edit1-&gt;Text = &quot;C:\\Programme&quot;;
Form1-&gt;Button1-&gt;Caption = &quot;Lesen&quot;;
Form1-&gt;Label1-&gt;Caption = &quot;Reparse Tag Typ:&quot;;
Form1-&gt;Label2-&gt;Caption = &quot;Mount Pont:&quot;;
Form1-&gt;Label3-&gt;Caption = &quot;Print Name:&quot;;
Form1-&gt;Label4-&gt;Caption = &quot;&quot;;
Form1-&gt;Label5-&gt;Caption = &quot;&quot;;
Form1-&gt;Label6-&gt;Caption = &quot;&quot;;
Form1-&gt;Memo1-&gt;Clear();
}
//---------------------------------------------------------------------------

void __fastcall TForm1::PrivilegSetzen(const char* Name, bool Setzen)
{
AnsiString Text = &quot;Privileg gesetzt: &quot;;
AppendStr(Text,Name);

Form1-&gt;Memo1-&gt;Lines-&gt;Add(Text);
Form1-&gt;Memo1-&gt;Lines-&gt;Add(&quot;\n&quot;);

HANDLE hToken;         //Handle fuer prozes Token
TOKEN_PRIVILEGES tkp; //Zeiger auf TokenStruktur

    //Aktuellen Prozess Token Handle abfragen um
   //Privilege zu bekommen.
if(!OpenProcessToken(GetCurrentProcess(),TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &amp;hToken));
   {
   LPVOID lpMsgBuf; //Puffer anlegen

AnsiString ErrorMessage = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,
                                        NULL,
                                        GetLastError(),
                                        MAKELANGID(LANG_NEUTRAL,
                                        SUBLANG_DEFAULT), // Standard Sprache
                                        (LPTSTR) &amp;lpMsgBuf,
                                        0,
                                        NULL
                                        );
if(ErrorMessage !=&quot;0&quot;)
{
MessageBoxEx(NULL,ErrorMessage.c_str(),&quot;Open Process Token&quot;,MB_ICONQUESTION, MB_OK);
}
LocalFree(lpMsgBuf); //Puffer freigeben
   }

//LUID fuer Privileg bekommen
if(!LookupPrivilegeValue(NULL, Name,&amp;tkp.Privileges[0].Luid));
  {
     LPVOID lpMsgBuf; //Puffer anlegen

AnsiString ErrorMessage = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,
                                        NULL,
                                        GetLastError(),
                                        MAKELANGID(LANG_NEUTRAL,
                                        SUBLANG_DEFAULT), // Standard Sprache
                                        (LPTSTR) &amp;lpMsgBuf,
                                        0,
                                        NULL
                                        );
if(ErrorMessage !=&quot;0&quot;)
{
MessageBoxEx(NULL,ErrorMessage.c_str(),&quot;LookupPrivilegeValue&quot;,MB_ICONQUESTION, MB_OK);
}
LocalFree(lpMsgBuf); //Puffer freigeben
  }
   tkp.PrivilegeCount = 1;  //Ein Privileg zu setzen

   if(Setzen)
    { 
        tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
    }
    else 
    { 
        tkp.Privileges[0].Attributes = 0; 
    }

   //Privileg fuer aktuellen Prozess bekomen

if(!AdjustTokenPrivileges(hToken, FALSE, &amp;tkp, 0,(PTOKEN_PRIVILEGES) NULL, 0));
   {
   LPVOID lpMsgBuf; //Puffer anlegen

AnsiString ErrorMessage = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,
                                        NULL,
                                        GetLastError(),
                                        MAKELANGID(LANG_NEUTRAL,
                                        SUBLANG_DEFAULT), // Standard Sprache
                                        (LPTSTR) &amp;lpMsgBuf,
                                        0,
                                        NULL
                                        );
if(ErrorMessage !=&quot;0&quot;)
{
MessageBoxEx(NULL,ErrorMessage.c_str(),&quot;AdjustTokenPrivileges&quot;,MB_ICONQUESTION, MB_OK);
}
LocalFree(lpMsgBuf); //Puffer freigeben
   }
}
</code></pre>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1463827</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1463827</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 10:19:22 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 11:19:38 GMT]]></title><description><![CDATA[<p>Hat Dein Programm ein normales Vista Manifest für asInvoker?<br />
<a href="http://blog.m-ri.de/index.php/2006/12/12/vista-und-die-notwendigkeit-eines-manifestes-fur-die-uac/" rel="nofollow">http://blog.m-ri.de/index.php/2006/12/12/vista-und-die-notwendigkeit-eines-manifestes-fur-die-uac/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1463868</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1463868</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 27 Feb 2008 11:19:38 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 12:18:01 GMT]]></title><description><![CDATA[<p>Ich habe eine Project1.exe.manifest</p>
<pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;assembly xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; manifestVersion=&quot;1.0&quot;&gt;
  &lt;assemblyIdentity version=&quot;1.0.0.0&quot;
processorArchitecture=&quot;X86&quot;
name=&quot;ExeName&quot;
type=&quot;win32&quot;/&gt;
  &lt;description&gt;elevate execution level&lt;/description&gt;
  &lt;trustInfo xmlns=&quot;urn:schemas-microsoft-com:asm.v2&quot;&gt;
    &lt;security&gt;
      &lt;requestedPrivileges&gt;
        &lt;requestedExecutionLevel level=&quot;AsInvoker&quot; uiAccess=&quot;false&quot;/&gt;
      &lt;/requestedPrivileges&gt;
    &lt;/security&gt;
  &lt;/trustInfo&gt;
&lt;/assembly&gt;
</code></pre>
<p>requireAdministrator funktioniert auch nicht</p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1463940</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1463940</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 12:18:01 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 15:34:09 GMT]]></title><description><![CDATA[<p>Hallo...</p>
<p>Gibt´s eine Möglichkeit, den PrintName eines Reparse-Point´s unter Vista ohne Admin-Rechte zu erhalten ???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464121</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464121</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 15:34:09 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 16:57:34 GMT]]></title><description><![CDATA[<p>Wieso funktioniert requireAdministrator nicht? Dann bist Du Admin!</p>
<p>Was sagt denn GetLastError?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464198</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464198</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 27 Feb 2008 16:57:34 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 16:59:12 GMT]]></title><description><![CDATA[<p>Selbst wenn man direkt als Administrator angemeldet ist, muss das Programm durch &quot;Als Administrator ausführen&quot; gestartet werden.</p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464200</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464200</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 16:59:12 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 17:02:51 GMT]]></title><description><![CDATA[<p>Das solte aber requireAdministrator erledigen...</p>
<p>Die Frage ist was sagt GetLastError!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464203</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464203</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 27 Feb 2008 17:02:51 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 17:03:36 GMT]]></title><description><![CDATA[<p>Das verstehe ich auch nicht. GetLastError sagt 0!</p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464205</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464205</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 17:03:36 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 17:26:51 GMT]]></title><description><![CDATA[<p>Angemeldet als Standard-User: Keine Ausgabe ==&gt;GetLastError==&gt;0<br />
Angemeldet als Standard-User: &quot;Als Administrator ausführen&quot;==&gt;OK<br />
Angemeldet als Administraror: &quot;Der angeforderte Vorgang erfordert erhöhte Rechte&quot;<br />
Angemeldet als Administrator: &quot;Als Administrator ausführen&quot;==&gt;OK</p>
<p>GetLastError liefert IMMER 0 zurück !</p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464230</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464230</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 17:26:51 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 17:38:48 GMT]]></title><description><![CDATA[<p>Ich hab emir jetzt Deinen Code nicht komplett angesehen, aber kennst Du diese ganzen Hinweise:<br />
<a href="http://www.flexhex.com/docs/articles/hard-links.phtml#junctions" rel="nofollow">http://www.flexhex.com/docs/articles/hard-links.phtml#junctions</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464244</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464244</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 27 Feb 2008 17:38:48 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 18:43:17 GMT]]></title><description><![CDATA[<p>PS: Der angegebene Code stammt größtenteils von mir <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /><br />
Siehe:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-206238-and-postdays-is-0-and-postorder-is-asc-and-start-is-13.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-206238-and-postdays-is-0-and-postorder-is-asc-and-start-is-13.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464278</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464278</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Wed, 27 Feb 2008 18:43:17 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 18:42:07 GMT]]></title><description><![CDATA[<p>Mein Fazit ist:</p>
<p>Unter Vista geht ein:</p>
<pre><code>C:\&gt;dir /AL
 Volume in Laufwerk C: hat keine Bezeichnung.

 Verzeichnis von C:\

02.11.2006  16:41    &lt;VERBINDUNG&gt;   Documents and Settings [C:\Users]
17.05.2007  17:06    &lt;VERBINDUNG&gt;   Dokumente und Einstellungen [C:\Users]
17.05.2007  17:06    &lt;VERBINDUNG&gt;   Programme [C:\Program Files]
               0 Datei(en),              0 Bytes
</code></pre>
<p>wunderbar.</p>
<p>Es benötigt keine Admin-Rechte, nix...</p>
<p>Aber ich hab noch keinen Dokumentierten Weg gefunden, wie man an diese Infos kommt, ohne das &quot;richtige&quot; Admin-Rechte benötigt werden...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464280</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464280</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Wed, 27 Feb 2008 18:42:07 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 19:15:18 GMT]]></title><description><![CDATA[<p>kannste mal im sourcecode von dir nachgucken?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464300</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464300</guid><dc:creator><![CDATA[dir.c]]></dc:creator><pubDate>Wed, 27 Feb 2008 19:15:18 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 19:29:23 GMT]]></title><description><![CDATA[<p>Klar ist mein Source auf deinen Grundlagen aufgebaut. Ich habe ja nicht behauptet, dass er aus meiner Feder stammt. Ohne deine Vorlage wäre ich jetzt nicht mal so weit...</p>
<p>Ich versuche ihn nur an Vista anzupassen.</p>
<p>Also nochmal <a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/5675">@Jochen</a> Kalmbach ==&gt; <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /> Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /> &lt;==</p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464309</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464309</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 19:29:23 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 20:33:48 GMT]]></title><description><![CDATA[<p>Ich habs gefunden:<br />
Öffne das Verzeichnis so, dann geht es ohne Admin-Rechte:</p>
<pre><code class="language-cpp">hFile = CreateFile(szMyFile, FILE_READ_EA, FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT, NULL);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1464369</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464369</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Wed, 27 Feb 2008 20:33:48 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 22:09:02 GMT]]></title><description><![CDATA[<p>Respect, funktoniert ohne jegliche Privilegien und ohne Admin-Rechte.</p>
<p>Muss jetzt nur noch verstehen wieso (Aber erst morgen heute nichtmehr)</p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464434</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464434</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 22:09:02 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Wed, 27 Feb 2008 22:27:30 GMT]]></title><description><![CDATA[<p>Wie bist du auf die Idee gekommen ?<br />
MSDN==&gt;Grants the right to read extended attributes.&lt;==</p>
<p>Der Share-Mode ist allerdings Geschmackssache. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464441</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464441</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Wed, 27 Feb 2008 22:27:30 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Thu, 28 Feb 2008 06:00:14 GMT]]></title><description><![CDATA[<p>Ich werde heute noch darüber bloggen, dann verrate ich es <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464497</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464497</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 28 Feb 2008 06:00:14 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Thu, 28 Feb 2008 07:30:35 GMT]]></title><description><![CDATA[<p>Teil 1: HowTo: Correctly read reparse data in Vista<br />
<a href="http://blog.kalmbach-software.de/2008/02/28/howto-correctly-read-reparse-data-in-vista/" rel="nofollow">http://blog.kalmbach-software.de/2008/02/28/howto-correctly-read-reparse-data-in-vista/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464523</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464523</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 28 Feb 2008 07:30:35 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Thu, 28 Feb 2008 11:13:25 GMT]]></title><description><![CDATA[<p>Servus,</p>
<p>sehr ausführlicher blog. Bitte Formatierung überarbeiten.<br />
Der Rest ist besser strukturiert.</p>
<p>Sehr informatieve Seite.</p>
<p>Was kann man in Zukunft von Kalmbach-Software erwarten ?</p>
<p>Ändere bitte deine Startseite (<a href="http://www.kalmbach-Software.de" rel="nofollow">www.kalmbach-Software.de</a>) sieht nicht profesionell aus.</p>
<p>(Alles ist besser als die Werbung deines Providers). <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_savoring_food"
      title=":yum:"
      alt="😋"
    /></p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464628</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464628</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Thu, 28 Feb 2008 11:13:25 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Thu, 28 Feb 2008 11:25:34 GMT]]></title><description><![CDATA[<p>Eisbeer schrieb:</p>
<blockquote>
<p>sehr ausführlicher blog. Bitte Formatierung überarbeiten.</p>
</blockquote>
<p>Suche noch ein gutes CSS für &quot;Code&quot;-Blogs...</p>
<p>Eisbeer schrieb:</p>
<blockquote>
<p>Was kann man in Zukunft von Kalmbach-Software erwarten ?</p>
</blockquote>
<p>Du kannst mich engagieren (als Freelancer)...<br />
<a href="http://www.freelancermap.de/profil/JochenKalmbach" rel="nofollow">http://www.freelancermap.de/profil/JochenKalmbach</a></p>
<p>Eisbeer schrieb:</p>
<blockquote>
<p>Ändere bitte deine Startseite (<a href="http://www.kalmbach-Software.de" rel="nofollow">www.kalmbach-Software.de</a>) sieht nicht profesionell aus.</p>
</blockquote>
<p>Zeigt jetzt auf den Blog <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> Hab einfach zu wenig Zeit...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464634</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464634</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 28 Feb 2008 11:25:34 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Thu, 28 Feb 2008 13:07:21 GMT]]></title><description><![CDATA[<p>Laut deinen Vorkentnissen sollte es doch kein Problem darstellen, die Formatierung des phpBB zu ..lesen...</p>
<p>==&gt;Eisbeer&lt;==</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464721</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464721</guid><dc:creator><![CDATA[Eisbeer]]></dc:creator><pubDate>Thu, 28 Feb 2008 13:07:21 GMT</pubDate></item><item><title><![CDATA[Reply to WinVista Sicherheits-Konzept &#x2F; REPARSE_POINTS on Thu, 28 Feb 2008 13:11:39 GMT]]></title><description><![CDATA[<p>Es ist immer eine Frage der Zeit... ist aber eine gute Idee <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1464723</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1464723</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 28 Feb 2008 13:11:39 GMT</pubDate></item></channel></rss>