Programming Windows Security the code
2009-07-17 15:08
302 查看
rogramming Windows Security
the code
code snippets from the book
You can download the project that I used to compile and test the code snippetsin the book from here (updated 27 Oct 2000
):
snippets.zip
.
The only reason I'm providing these files is so that you can use them to cut and paste the sample code,
but I will not support
you running the tests as they assume a certain environment
(the most obvious problem is that, the domain and account names that I've used won't match yours,
but there are other configuration issues such as required privileges and logon rights). I could
have spent the time to make these tests completely self contained (by configuring domain accounts,
groups, privileges, logon rights, etc.), but instead I decided to ship the book :-)
With that caveat out of the way, there are lots of files in the above ZIP file that have
to do with building my test harnesses (I include them only for completeness so that you
can verify that the samples at least compile
).
The source files you want are named after the chapters of the book (feel free to discard the
other stuff if you don't want to compile them).
LogonSessions.cpp
WindowStations.cpp
AccessControl.cpp
NetworkAuthentication.cpp
FileServer.cpp
COM.cpp
IIS.cpp
Principals.cpp (this contains some miscellaneous stuff)
external code samples
I have a number of useful security toolsand samples
that you might find useful.
For those looking for my original external samples that I wrote while working
on the book,
I've packaged them up here
(it's pretty old code, but if you're specifically looking for these,
I hope you find them helpful). Here's what you'll find in this zip file:
cmdasuser.zip
tokdump.zip
winstadacl.zip
sessview.zip
tktview.zip
Here are links to where you can find my
SSPI password verifier
and
SSPI workbench
as well.
相关文章推荐
- Shiro 集成 No SecurityManager accessible to the calling code....
- win7 安装windows 服务 报错 System.Security.SecurityException 解决方法 An exception occurred during the Install phase. System.Security.SecurityException: The so
- Code Conventions for the JavaScript Programming Language
- Links to sample code for the Windows Phone 7
- The study of Programming Windows with MFC--Common Control
- The Study of Programming Windows with MFC--Slider,Spin,ToolTip
- The Study of Programming Windows with MFC--Progress and Animate control
- Chapter 13. Playing God: Basic Physics Modeling (Tricks.of.the.Windows.Game.Programming.Gurus,.Second.Edition)
- Programming Windows TCP Sockets in C++ for the Beginner
- Code Conventions for the Java TM Programming Language
- fastjson No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.uti
- 解决 winXP Device Manager 中的错误:Code 39:Windows cannot load the device driver for this hardware the driver may be corrupted or miss
- Distributed .NET: Learn The ABCs Of Programming Windows Communication Foundation -- MSDN Magazine, February 2006
- Windows could not set the offline local information.Error code:0X80000001解决方法
- Administering Windows Vista Security: The Big Surprises
- Java语言编码规范 - Java语言编码规范(中文版)(http://doc.javanb.com/code-conventions-for-the-java-programming-language-zh/index.html)
- Links to sample code for the Windows Phone 7
- Links to sample code for the Windows Phone 7
- Nullsoft Winamp Plug-in With Bitmapped UI, Docking and Restrictive Resizing - The Code Project - Dialog and Windows
- The Study of Programming Windows with MFC--Bitmap2