there is no problem.
i am not trying to do anything.
i simply wish to demonstrate that removing the entry points does not disable fast user switching.
there are other ways to access an os besides the gui.
I agree with/am aware of other ways of accessing system internals. Indeed, I am a programmer.
1: I have already provided you with strong evidence that credentials providers cannot initiate a fast user switch. If you are worried about credentials providers bypassing the start menu, you don't need to be.
2: I have also provided you with evidence that there exist no publicly exposed API functions or interfaces which provide this functionality.
3: Therefore we must presume that explorer.exe uses an internally exposed function. I have performed some basic analysis on explorer.exe, shell32.dll, shlwapi.dll and authui.dll on a Windows 7 computer, and have found absolutely no named (by the public symbol server) function which appears to offer this functionality.
If you want to investigate further exactly how it's done, look at
Code:
CLogoffPane::_OnCreate
CLogoffPane::_InitShutdownObjects
in shlwapi.dll, to see if you can track down the callback function.
Also, Microsoft's track record on security is very good, and the quality of the code is allegedly excellent. If all checks were carried out at explorer.exe level, it would be far too easy to forget to go back and add in extra checks if an internal function is ever documented/made public --> security risk. Also, it's never a good way of handling security ("on the client"), so I'm sure it's almost never done.
Finally, if you're concerned about malicious users modifying Windows code, or directly invoking internal functions then all bets are off, and you've got much bigger issues than fast user switching?
I don't buy that there's no problem at all. I'm sure that there's nothing which needs fixing, but a question like this doesn't come out of nowhere.
Are you concerned about security? If so, why?
Richard