I noticed that while using pip to install packages globally, the install failed with an insufficient permission error. When running pip as administrator, the problem was fixed and pip was able to write to my Program Files directory. The same behavior occurs when editing text files in Program Files -- it only works if I run the text editor as administrator.
However, far as I know, I have never run any installer programs as administrator, yet they all wrote to my Program Files directory without any kind of prompt. What allows these installers to bypass the security check?
(I do have UAC disabled, but if that's the cause then why can't pip and other normal programs like text editors write to the Program Files directory?)