Hi Mack,
You can't have it both ways. If the user accounts need to work with that
file for the program to run, you need to allow them access to it (via
permissions). If you limit it to read only, or read and execute (depending
on need), but not alter/modify/full, then they should be able to use it
without the ability to make changes. If the program needs to write to the
file while running, then you don't have this option.
--
Best of Luck,
Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help -
www.rickrogers.org
My thoughts
http://rick-mvp.blogspot.com
"Mack" <> wrote in message
news: ups.com...
>I have a program that needs to view a certain file that has current
> data in it. Both administrators and standard users use the program,
> but standard users do not need to have access to this file. How can
> allow only the program to access the file but not the standard user.
>
> I have tried making the file viewable by only administrators, then
> marked the program to run in administrator mode. This will work accept
> when a standard user opens the program it requires them to enter in an
> administrator password to open the program.
>
> Any help would be appreciated!
>