lock down file access

  • Thread starter Thread starter Greg Chu
  • Start date Start date
G

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
 
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.
 
I used fileopendialog and filesavedialog, but I could not find the options
you specified.
please post a sample code.

Thanks!

Greg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top