need coding in .net for protecting a file using password?
A:
That is very, very vague. You can enforce ACLs on files using File.SetAccessControl
; beyond that, you'll need to be more specific. For example, you might want to look at System.Security.Cryptography.
Marc Gravell
2009-01-27 10:43:11
Nice answer considering the pleez send teh codez question
ShuggyCoUk
2009-01-27 10:45:41
A:
Well, can you give some more details? The simplest thing you could do is to use the .NET encryption APIs and choose some symmetric key algorithm whereby you would encrypt the file and the "password" would simply be the symmetric key.
BobbyShaftoe
2009-01-27 10:44:17