365 ADDS...


365 add 2

Monday, October 13, 2008

software security

Over a relatively short period of time, the attitude toward software security haschanged dramatically, both from the developer perspective, as well as from the userperspective. Years ago, computers were mostly disconnected devices, and offlinemedia, mostly floppy disks, was the main source of computer security problems. Thebig problem at that time was represented by viruses. Today, almost every computersecurity problem is remotely exploitable because of the high connectivity rate.Older operating systems, such as Windows 95, provided no support for securingobjects stored on the local computer. The advent of the Windows NT code base in consumermarkets made a secure C2-compliant kernel available to consumers. Today, theconsumer versions of the Windows operation system—namely Windows XP Home andWindows Vista Home—control the access to each object, and, as such, the chanceincreases for encountering an access denied failure. Another push comes from the securitycommunity to always run a process with the least privileged user. In this case, the hostcomputer is isolated from security vulnerabilities that might exist in the applications.How feasible is it to run the application as a nonadministrator? Perhaps it is possible fora few applications, designed with security in mind, while the majority of them will still tryto access a registry location or a file system location reserved only to administrators.Hopefully, object security will become a first-class development pillar. This topicprovides the information required to start the journey toward successful understandingand fixing of software security problems. This topic focuses primarily onsteps executed when a legal operation completes with success of failure and doesn’tdescribe unexpected behavior of code because of code defects (buffer overflow, integeroverflow, buffer overrun), currently exploited by viruses, as it is covered very wellin several reference books. In this topic, we explore the following:■ The basics of Windows security and how Windows Security actually works. Wesummarize the essential information required to understand security-relatedproblems.■ How to inspect various security elements using the debugger extensions. This sectionintroduces several extension commands essential to debugging securityaspects.■ How to combine the techniques and information presented so far in the bookto resolve problems caused by unexpected security restrictions.
Any Windows securable object, which can be represented by a handle to it, has securityinformation attached to it, and it is protected using standard Windows securitymechanisms. The Windows security model uses three security concepts:■ The discretionary access control list (DACL): Describes what principal can usethe object and how■ The identity of the user: Also known as principal■ The Security Reference Monitor (SRM): Uses the information available torestrict the access to the object protected by itDACLs associated with Windows securable objects are managed by the object creatoritself. The DACL is a component within another structure known as the securitydescriptor, which is a small piece of information stored along with the object in thesecured store. The security descriptor is retrieved from the secured store, and it isused every time the object is accessed by a new principal. For example, the files securitydescriptors are stored in the NTFS file system, the registry keys security descriptorsare stored in the registry hives, whereas the kernel objects have the securitydescriptors stored in the kernel address space.The Windows SRM runs in the kernel address space, isolated from the user modecode. Most securable objects are created and managed by kernel components thatuse the address separation to protect the associated security descriptor from the usermode components. Because user mode components cannot use the kernel for implementingtheir own secure object brokers, several components in Windows implementcustom security models using ideas similar to the Windows security mechanisms.A custom object broker must enforce the mechanism for accessing its object. Inother words, when designing a securable objects broker, you must ensure that thisobject cannot be accessed by using any other mechanism. In those cases, the objectbroker takes the SRM role and manages the object security descriptors in its proprietaryways. To ensure functional consistency with the rest of the operating system anduse the same user interface controls in security settings, the object broker will mostlikely use the same data structures as Windows SRM.The other essential component in access control is the security principal, createdand certified by the operating system. The security principal is stored in an accesstoken that aggregates the list of group security principals having the principal as amember, the list of special privileges granted by the operating system, plus otherinformation used by the various components in the system.The access to an object is represented by a collection of bits, each bit representinga right (specific to the object’s nature) that can be granted or denied to a principal.
The next section describes all the security structures relevant to debugging Windowsapplications, and it presents various methods for inspecting them. Readers familiar withthose concepts can skip this section. All examples use three new extension commands:!sd, !token, and !sid, available in the default extension loaded by debuggers. Thisuses the 07sample.exe with the source code and binary located in the followingfolders:Source code: C:\AWD\popBinary: C:\AWDBIN\WinXP.x86.chk\07sample.exeBecause the security errors are often encountered in distributed applications.consisting of a client application 08cli.exe, a library, 08comps.dll that contains theproxy-stub code, and a server application 08comsrv.exe. The 08comsrv.exe must beregistered using the 08comsrv.exe /RegServer command line, and 08comps.dll mustbe registered using the regsvr32 08comps.dll command line. The source code and thebinary files are located in the following folders:Source code: C:\AWD\popBinaries: C:\AWDBIN\WinXP.x86.chk\08cli.exe, 08comps.dll, and08comsrv.exe
In the client/server programming model, a server is a program that awaits and fulfills requests from client programs in the same or other computers. A given application in a computer may function as a client with requests for services from other programs and also as a server of requests from other programs.

DEAR FRIENDS THIS SITE WILL TELL YOU EVERY SETTINGS & DETAILS WHICH ARE NEEDED TO SET A SERVER HEAR YOU WILL ALSO GET INFORMATION ABOUT THE DIFFERENT TYPE OF SERVER LIKE FILE SERVER, PRINT SERVER, MAIL SERVER, DHCP SERVER, TERMINAL SERVER, PROXY SERVER, WINS SERVER NETBIOS SERVER AND DIFFERENT SOFTWARE'S WHICH ARE NEEDED FOR SERVER SETTING & SHARING MANY MORE...

SO ITS A MAIN PLACE THAT'S SERVER PLACE...


he operating system is configured correctly. In the Windows Server 2003 family, file services depend on the appropriate configuration of the operating system and its services. If you have a new installation of a Windows Server 2003 operating system, you can use the default service settings. No further action is necessary. If you upgraded to a Windows Server 2003 operating system or you want to confirm that your services are configured correctly for best performance and security, verify your service settings by comparing them to the table in Default settings for services.
The computer is joined to an Active Directory domain as a member server. If you want to authenticate clients or publish a shared folder to Active Directory, the file server must be joined to a domain. If you do not need to perform either of these tasks, the file server does not need to be joined to a domain.
All available disk space is allocated. You can use Disk Management or DiskPart.exe to create a new partition out of unallocated space. For more information see, To create a partition or logical drive.
All existing disk volumes use the NTFS file system. FAT32 volumes are not secure, and they do not support file and folder compression, disk quotas, file encryption, or individual file permissions.
The following table lists the information that you need to know before you add a file server role.

Before adding a file server role Comments
Determine whether you want to configure disk quotas. Use disk quotas to track and control disk space usage for NTFS volumes on a per-volume basis. Quotas prevent users from exceeding the designated disk space by logging an event when a user exceeds a specified disk space limit.
Determine whether you want to use Indexing Service. Indexing Service creates indexes of the contents and properties of documents located on your local hard drive or on shared network drives. These indexes enable users to perform faster, easier searches. Indexing Service can slow down the server, so use it only if users frequently search the contents of files on this server.
Identify the folders that you want to share on the computer, and specify a folder name and description. Users view the shared resources on this file server based on file name. It is recommended that you create share names that are easy to remember and indicative of the folder contents. For example, suppose users are provided with 2 gigabytes (GB) each for storing their private information on the file server. You might name the top-level folder on your file server Personal Folders, and then name each of the subfolders according to the user's domain name.
Determine what type of permissions you want to set on the folders. Assign the most restrictive permissions that still allow users to perform required tasks. Access control on the NTFS file system provides more security than share permissions alone.

365 Add..


5.0 Is Here!
iDevAffiliate 5
Price: $99.99 USD


more information