Platform SDK

Make no assumptions about your access to the system

Windows 2000 provides a secure operating environment. This means that access controls can be placed on various system resources to restrict users from performing certain operations. For most applications, these issues come up most often when writing data to the file system or the registry. Security is enforced by the Operating system at a low level and typically cannot be circumvented by applications When trying to access data, make no assumptions about your access to the system. You may not have sufficient privilege to do anything but read and must run anyway. The following sections provide some guidelines to help your application avoid system access problems.