|
Re: Question about writing windows apps that write to network drivesunder vista/uac Hi,
In general, your app will be able to save to a network drive provided
you are logged into the computer with an account that can also access
the network drive, it does NOT need to be an Administrator.
fig000 wrote:
> Hi,
>
> I am new to vista and uac. We have an app that was written under
> vs2003 (windows). When the app runs normally it has a problem creating
> and writing to network directories. I've gotten around this to some
> extent by having the app run as administrator by default. Of course
> this means that I get the UAC prompt asking if I want to allow the app
> to run.
>
> I'm wondering if this is the best I can do. I've noticed that other
> apps (my program text editor for example) can write to the same
> network drives without any trouble and without any prompts from UAC.
> So, it seems, can notepad. This makes me wonder about how this is
> done. Do these apps have elevated privilages by using a manifest and
> AIS (as I've read about) or is there something more standard that
> these apps do? We have third party app here that we sell and it will
> be running on our customer's desktops. I'd like to use the best
> technique to allow it to run and I'm wondering what other commercial
> apps such as notepad do.
>
> Any help would be appreciated.
>
> Fig
>
--
Gerry Hickman (London UK) |