1 Replies - 4789 Views - Last Post: 22 December 2008 - 09:52 PM Rate Topic: -----

#1 Fuzz_Bullet  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 30-November 08

How to save a string to notepad

Post icon  Posted 22 December 2008 - 08:01 PM

How do you make it so that say I wanted to make a password protected folder, and it could be modified and save multiple users. Pretty much I'm askin for a mini-tutorial or a link to one.
So overall I wanna know how to Save and re-access it to check or change data.(multi-user would be nice, but not need)

Thanks :)

Is This A Good Question/Topic? 0
  • +

Replies To: How to save a string to notepad

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4421
  • View blog
  • Posts: 12,286
  • Joined: 18-April 07

Re: How to save a string to notepad

Posted 22 December 2008 - 09:52 PM

Well surely you must know that you can use the CreateDirectory() method of the System.IO.Directory object which is used to create a directory. One of its overloads is one which also takes a DirectorySecurity object as the second parameter. Here you can put access rights on the directory you created including which system users can access it, what type of permissions they have on it etc.

Directory.CreateDirectory Method which takes a directorysecurity object. - MSDN

And the second page of interest...

DirectorySecurity class - MSDN

Hopefully this is what you were talking about. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1