Page 1 of 1

How do you password protect a file?

Posted: 2005-01-11 11:46pm
by Shadow WarChief
This is the first time I've ever wanted to put a password on a file on a PC instead of a mac, so could someone tell me how to do it? :?:

Posted: 2005-01-12 02:00am
by Faram
There is no native support for passwordprotected files in Windows.

You need a third party application for this, I would recommend Cryptosuite

Re: How do you password protect a file?

Posted: 2005-01-12 02:23am
by Durandal
Shadow WarChief wrote:This is the first time I've ever wanted to put a password on a file on a PC instead of a mac, so could someone tell me how to do it? :?:
This is something that should be done at the operating system level. If you don't want anyone to have access to your files, keep them within a password-protected user account.

Posted: 2005-01-12 02:53am
by Xon
Faram wrote:There is no native support for passwordprotected files in Windows.
Wrong. There is native encypted filesystem support for this from Win2k onwards. Crippleware XP Home doesnt support it however.


Under Windows XP (and Win2k) you can protect files in at least 2 ways. Both require using ntsf, you are using ntfs right?

You can use file permisions to stop people from accessing the files. But if someone is an administrator or someone has physical acess to the disk, then this is a joke, and it doesnt secure the file itself.

The otherway is to use the biultin file encryption under Win 2k/XP (Pro not home)/2k3. This is linked to your username & password. A forced reset of your password results in the annihilation of the private key used to encrypt the files.

The encyption system uses a public-private key, with the key being the equivalent to a 196-bit asymmetrical cypher. If you lose the private key, you have lost the data. You can export the key data & reimport it later.

To use file encyption under WinXP, righclick on the file/folder and select properties. Then click on the 'advanced' button. And select 'Encypt contents to secure data'.

For WinXP this applies only to WinXP Pro, not to Home(aka cripple-ware) edition.

Posted: 2005-01-12 02:05pm
by Dahak
ggs wrote:You can use file permisions to stop people from accessing the files. But if someone is an administrator or someone has physical acess to the disk, then this is a joke, and it doesnt secure the file itself.
Well, you can kick out the generic "administrator" and any other account from the acl of the file, and give only one specific user account the rights to access.

Posted: 2005-01-12 04:34pm
by Alyeska
I too would like a way to lock a file or folder.

I have just one user account on my computer. I merely require something that would let me place a password on the folder to enter it and prevent windows from searching it when people do certain file name searches.

Posted: 2005-01-12 06:11pm
by Xon
Dahak wrote:
ggs wrote:You can use file permisions to stop people from accessing the files. But if someone is an administrator or someone has physical acess to the disk, then this is a joke, and it doesnt secure the file itself.
Well, you can kick out the generic "administrator" and any other account from the acl of the file, and give only one specific user account the rights to access.
If someone else is an administrator they can take ownership and then grant themselves the rights. No matter what you do.
Alyeska wrote:I have just one user account on my computer. I merely require something that would let me place a password on the folder to enter it and prevent windows from searching it when people do certain file name searches.
You can try chuck everything into a zip file and password protect it. You can then browse the zip file like a normal folder, but it will require a password to extract any files.

Posted: 2005-01-12 06:34pm
by Faram
ggs wrote:Wrong. There is native encypted filesystem support for this from Win2k onwards. Crippleware XP Home doesnt support it however.
EFS encrypts files, but many home users don't want to hassle with login and passwords, or if a user shares the password any encryption gain is lost.

3rd party app to encrypt/protect single files or folders is better in that scenario.

Posted: 2005-01-12 06:44pm
by Faram
ggs wrote:If someone else is an administrator they can take ownership and then grant themselves the rights. No matter what you do.
My turn to say wrong

If I encrypt a file with my username/password through EFS in windows XP then that file is safe from anyone that don't have the chipher keys.

Posted: 2005-01-12 10:28pm
by Xon
Faram wrote:EFS encrypts files, but many home users don't want to hassle with login and passwords, or if a user shares the password any encryption gain is lost.

3rd party app to encrypt/protect single files or folders is better in that scenario
So what the fuck is the difference between windows prompting you for a username(which in a home context with fast user switching is just clicking on a name) & password(if they have a password) and downloading, installing and configurign a 3rd party application to encypt files. and then invoking the app to decrypt a file and typing a password in.

People who cant be bothered typing in a password dont give a shit about their computer security, and wouldnt use the file encyption anyway. These are the types of people who would actively not use security because it is inconvenient.

If their account isnt secured by some form of password( and they are probably running administrators), it doesnt matter what type of encyption programs they use.
ggs wrote:If someone else is an administrator they can take ownership and then grant themselves the rights. No matter what you do.
My turn to say wrong

If I encrypt a file with my username/password through EFS in windows XP then that file is safe from anyone that don't have the chipher keys.
How about reading what the fuck I was responding to.
ggs wrote:
Dahak wrote:Well, you can kick out the generic "administrator" and any other account from the acl of the file, and give only one specific user account the rights to access.
If someone else is an administrator they can take ownership and then grant themselves the rights. No matter what you do.
I've already stated that the private cipher key is stored in the user's profile, and any type of force invalidation of the user's password will kill the key. This is a completely different issue.

Posted: 2005-01-13 02:20am
by Faram
ggs wrote:
Faram wrote:EFS encrypts files, but many home users don't want to hassle with login and passwords, or if a user shares the password any encryption gain is lost.

3rd party app to encrypt/protect single files or folders is better in that scenario
So what the fuck is the difference between windows prompting you for a username(which in a home context with fast user switching is just clicking on a name) & password(if they have a password) and downloading, installing and configurign a 3rd party application to encypt files. and then invoking the app to decrypt a file and typing a password in.
Have you ever tried to mail a file encrypted with windows EFS?
A tip as soon as a EFS Encrypted file leaves a NTFS disk the security is lost.
And the question was “How do you password protect a file?” My suggestion was a third party app and yours use Windows Encrypting File System.

ggs wrote:People who cant be bothered typing in a password dont give a shit about their computer security, and wouldnt use the file encyption anyway. These are the types of people who would actively not use security because it is inconvenient.
Hey Shadow WarChief asked how he can password protect a FILE, not a question how to secure his computer.
ggs wrote:If their account isnt secured by some form of password( and they are probably running administrators), it doesnt matter what type of encyption programs they use.
A third party app that password protects a file has absolutely nothing to do with the windows username and password, one can be weak without affecting the other.