Securing your Windows machine and files
DISCLAIMER: I am not responsible for any future, present or past hacks, vulnerabilities, etc. incurred by anyone. I am just trying to help out with the limited layman knowledge I have.
Step 1
: Download Ubuntu
Just kidding, Windows has some annoyances, but this is what I do to ease them.
Consider your files: Is it something that you do not want others to access any at all (Sensitive)? Is is something that you worked on and you do not want to loose (You don't mind sharing but do not want to do over)?
If in the first case consider Encrypting a folder on an NTFS partition. Ensure you have a back up of the encryption key.
The key can be password protected when created, and you can save the key to a thumb drive or a media (including CD/DVD/etc) that you can securely put up. You can also reuse the key and install it on another PC you admin and use it to encrypt more folders.
You may have both sensitive and backup issues, then try creating a backup of the encrypted folder on an external NTFS portable HD, or NTF thumb drive and secure the backup. (Have any tried this to disc media? I think I tried but it does not keep the encryption. Has anyone get it to keep encryption on DVD like file system?)
Also try to always back up off the machine, all files you need.
How to handle shared folders.
Delete the "Everyone" group from the Security tab properties on the root folder, that is, the folder to be shared
Do this anywhere you think it is unnecessary. (Unless it is on a portable NTFS HD that you move between windows machines. The everyone group is useful when moving it between machines)
Create a user with non-admin level for the share. Assign only tasks that are needed. Example, only allow read access when needed. Do this on both the share properties and folder security tab properties. You can remove the created user from all groups, including the "Users" group, if the user does not need then. Removing a windows user from the "Users" group in admin tools means that that user cannot log into that windows machine locally, but can still access the shared folder remotely.
You can create other users the same way in Admin Tools, and give them different level of access to the share. Example, write access to another user as needed on that shared folder, the permission would be done on both the shared folder properties and the folder security tab properties.
Other folder shares can be created and setup as desired, but start out by removing the Everyone group from the shared folder properties, as well as the folder security tab, and explicitly add the user that was created. Admin usually always have access, I think, leave that.
On the remote machine, that will access the share, use this batch file to connect. Windows has a way of making it difficult to change credentials to a shared folder.
save this code as a batch file (.bat)
Code:
net use \\servername\sharefoldername /del
net use \\servername\sharefoldername /USER:username *
pause
* means that you are asked for password when you run the batch
Create a batch for each user on the remote machine. You only need to run the batch when you are going to change user/credentials to the shared folder.
Please feel free to add anymore advise here on how to secure a Windows machine.
Let's act on what we agree on now, and argue later on what we don't.
Black men leave Barbeque alone if Barbeque don't trouble you