This article shows how to make file I/O access be denied if the user running the application did not have administrator privileges.