Is there a way to password protect a file in Windows 10? - windows

I was looking through some of the files of an application I downloaded and tried to view the contents of some of them, however, I was prompted to enter a password to the file which triggered me to ask how that was possible and how I could do it.
Attempts
I tried using the "Encrypt contents to secure data" option of file explorer and then changing the encryption key with certmgr, but it didn't work.
I tried seeing if there was a built-in windows zip folder password option but it seems that it was removed (I know that 7zip works but I mean its not the same)
So is there a way to password protect files?
I am using Windows 10 Pro Education with a KMS server

Related

How to install unpacked extension in firefox & chrome?

i have created extension by using crossrider they gave me xpi & crx file which i extracted and want to install manually by copying data to the browser's extension path.
I've read & tried many posts regarding this but they are not helpful because i think some posts are old & not able to find target paths & registry.
like in many posts they say create the following key in the registry here
32-bit Windows: HKEY_LOCAL_MACHINE\Software\Google\Chrome\Extensions
but i couldn't find that on my windows registry & i am using 32bit.
i want something like i copy my extension data to the browser's extension directory & inject some registry value thats all. if it possible then How?
For firefox just add the xpi or unpacked folder to the profile folder. No need for registry so its cross platform.
It can't be automatic as spyware would be all over that. After placing xpi in the extensions folder of the profile, on next startup of Firefox it will prompt saying it found an unauthorized by user add-on, and gives user a chance to enable it, or keep it disabled.
If you want to do it without startup, just launch the file path to the xpi or unpacked folder (if unpacked folder doesnt work, then point it to the install.rdf) in the browser, user will be prompted if they want to install.
There are some registry options though: Install Firefox extension using Windows registry
In Chrome, it's no longer possible to add an extension programmatically on Windows unless the extension is actually published in the Store.
This is for security reasons: previous registry-based (and otherwise) methods were open to malware abuse.
If your extension is published in the store, you can add it semi-automatically via registry. The user will still be asked whether to enable it on the next load.
You can also install extensions silently using Enterprise policy (only if the machine is part of a Windows domain and you have admin rights on the domain policy), on other OSes, or load it unpacked for testing with the --load-extension command line switch (will not persist after Chrome is restarted).
In Chrome go to
chrome://extensions
Enable Developer Mode at the top and click on the button to load an extracted extension.

Where does Firefox store saved passwords?

I'm going to create a plugin to a face recognition system for Firefox's saved passwords as my final year project, but yet i haven't any idea about how saved passwords are implemented in Firefox. if anybody know about that, Please help me.
Where does Firefox store saved passwords? How does it choose appropriate password when entering username?
You can find your saved passwords by going to:
Firefox --> Options --> Security
and click Saved Passwords. Your passwords are ordered by site. You'll get a list of all usernames, and you have to click Show Passwords to actually be able to see your passwords. I suggest using a master password (you can set this in the security tab) so no one else can access your passwords.
i think you mean 'where in the file system does firefox store passwords'
on linux, firefox has a hidden folder on your home folder (usually .mozilla) there are a couple folders in the folder and in one of the folders there exists a file with the name 'logins.json'

Windows 7 file access permission question

I installed my application in Windows 7 and as part of the installation, it installs some text files. Now, if I open the text file in notepad and try to save it, I get an "Access denied" error. I'm logged in as administrator on the machine and the file is not marked read only and security permissions seem to be fine.
However, I could delete or rename the file without any problem and I could create a new file with the same name/location using notepad and the save works fine.
I understand it has something to do with UAC. I'm wondering what UAC does in order to block access to the file. Our application is not installed in Program files folder as I believe UAC restrict any changes to files in Program Files folder
Can anyone throw light on what is going on.
regards
G
With UAC, just because you're logged in as a user with administrator privileges does not mean a program actually runs with them. The program has to either request privilege elevation (which gives the "Do you want to allow this program to _____" UAC pop-up) or explicitly be run as administrator (right-click on the program/shortcut and choose Run as Administrator).
By default most areas of the drive outside of the standard "user files" (a.k.a. My Documents & co.) are restricted to administrator-only access, but the folder permissions can be changed to add access for a particular user if desired.
You will find that saving files almost anywhere except the "my documents" area for the user will be restricted, this includes saving to other drives on the system etc.
If you check the permissions for the directory you are trying to write to, all you have to do is expressely give the user permission. Otherwise only the admins have permission, which requires UAC approval from the user to get the admin token.
You normally get "Access Denied" error when the file is in use. UAC could not be an issue here. Check out if the file is in use by anyother process.
You can use tools like Process Explorer from sysinternals to do that.
You have to right click the file and select properties. THen open the security tab and you can see different accounts with differet privelages. Click USERS and it should highlight. The box under it should have a bunch of check marks that indicate what this user can do. Click Full Control. Apply and Okay. Then you can save!!!

com.finder.desktopservices asks for admin password when copying files

I am trying to copy files from my mac to a network drive. When copying the files, an empty file is created at the destination and I get a prompt saying I might have to enter an administrator password to change the file named "whatever my file name is". When I press continue, the password dialog shows it is com.apple.desktopservices which is asking for the password.
From what I see happening, an empty file is first created and then I am prompted for a password. Once I enter the password, the empty file is removed and another file is created. It is to this file that the contents are written.
Any ideas why this should happen?
Thanks.
P.S. The file has full read-write permissions
Is the file actually created, or is Finder just displaying an icon for it? What kind of machine is the network drive (another Mac, a Windows machine, a NAS?), and what protocol are you using to connect to it? (SMB, CIFS)?

EFS encryption key pop up

I'm getting notifications to back up my encryption key for EFS in Vista, however i haven't enabled bit locker or drive encryption.
Anyone know how to find out what files may be encrypted or have an explanation for why it would notify me?
To find out which files on your system have been encrypted with EFS, you can simply run this command:
CIPHER.EXE /U /N
Yes it's EFS:
[Window Title]
Encrypting File System
[Main Instruction]
Back up your file encryption certificate and key
[Content]
Creating this backup file helps you avoid permanently losing access to your encrypted files if the original certificate and key are lost or corrupted.
[Back up now (recommended)] [Back up later] [Never back up] [Cancel]
[Footer]
Why should I backup the certificate and key?
EFS encryption is typically achieved via the "Advanced" tab of the "File Properties" dialog and it's best to do it at the folder-level.
But on Vista I remember seeing this message on my new computer, definitely never having encrypted a single file. So I AGREE it's confusing to ask you to back up the key, until the FIRST USE of EFS. Windows-7 has never asked me, so probably that's the way it works in the future.
I just got this same message for the first time after using Windows 7 for many months. Running cipher.exe as noted above revealed that a font file I downloaded (Anonymous Pro) had the encryption attribute set (right-click the file, properties, General Tab, click Advanced). It also had security settings granting an unknown account read and execute permissions. (!) I don't know why a font file would have the encryption flag set.
If you just got this message out of the blue, perhaps it is in response to something you just downloaded.
Clippy noticed that you have sensitive information in your files and automatically encrypted them.
Are you sure it's for EFS? I've had things prompt me to backup my keys before, but I didn't know exactly what they were to. I was assuming it was like a DRM protected file or something. It was a while ago so i don't remember exactly what the specific details were. I never backed it up and haven't been locked out of anything.
I've got the same message after un-zipping DroidDraw (http://www.droiddraw.org/).
It's a normal (I think) zip file. Right click on it, extrat all. The resulting folder/files were encrypted. Immediatelly Win prompted me to backup EFS keys.
Same behaviour on Win Vista and Win 7.

Resources