Home All Groups Group Topic Archive Search About

lock down file access

Author
25 Mar 2005 9:16 PM
Greg Chu
I have a system that is locked down so the user can not even use windows
explorer. But I need to user be able to save a wordpad file to the hard
drive. I want to assign a particular directory to save through the
application.

Do I have a way to write a notepad or wordpad app that can only save file to
for exaample e:\joe.

Thanks!

Greg

Author
26 Mar 2005 9:00 AM
Crouchie1998
Yes, that is easy

You have the NoChangeDirectory in the FileOpen/Save dialogs & you can assign
'WriteOnly' permissions to that file, so, they are able to save that file to
the directory you specify.
Author
28 Mar 2005 4:42 PM
Greg Chu
I used fileopendialog and filesavedialog, but I could not find the options
you specified.
please post  a sample code.

Thanks!

Greg
Show quoteHide quote
"Crouchie1998" <crouchie1***@discussions.microsoft.com> wrote in message
news:eXNkwJeMFHA.2604@TK2MSFTNGP10.phx.gbl...
> Yes, that is easy
>
> You have the NoChangeDirectory in the FileOpen/Save dialogs & you can
> assign
> 'WriteOnly' permissions to that file, so, they are able to save that file
> to
> the directory you specify.
>
>
Author
29 Mar 2005 4:19 PM
Greg Chu
My guess if no one respond, then I just write my own save dialog.
Show quoteHide quote
"Greg Chu" <greg_***@wendys.com> wrote in message
news:euJjzU7MFHA.2748@TK2MSFTNGP09.phx.gbl...
>I used fileopendialog and filesavedialog, but I could not find the options
>you specified.
> please post  a sample code.
>
> Thanks!
>
> Greg
> "Crouchie1998" <crouchie1***@discussions.microsoft.com> wrote in message
> news:eXNkwJeMFHA.2604@TK2MSFTNGP10.phx.gbl...
>> Yes, that is easy
>>
>> You have the NoChangeDirectory in the FileOpen/Save dialogs & you can
>> assign
>> 'WriteOnly' permissions to that file, so, they are able to save that file
>> to
>> the directory you specify.
>>
>>
>
>