LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2016, 06:38 PM   #1
Sanphorii
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
How to password protect folder on Linux


Hi, everyone. I'm very new to Linux (Mint), and I am trying to transfer documents and folders from my Windows laptop to the Linux Desktop via an Ethernet cable.

On the Windows network window, I can see the folder I'm sharing from the Linux computer. I can put Windows files in this folder, and it'll show up on Linux, however, everyone on the network can view those files.

How can I password protect that folder so that only I can have access to them from the Windows computer?

Thank you!
 
Old 08-02-2016, 06:58 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
This looks like a start:-
http://www.makeuseof.com/tag/passwor...older-windows/

You can also 'Lock a Folder'-
http://www.laptopmag.com/articles/pa...der-windows-10
 
Old 08-02-2016, 08:07 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
You can change the permissions from the widows side, right click > properties, and make it so only you can read the files.
 
Old 08-02-2016, 10:46 PM   #4
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Question

Quote:
Originally Posted by Sanphorii View Post
Hi, everyone. I'm very new to Linux (Mint), and I am trying to transfer documents and folders from my Windows laptop to the Linux Desktop via an Ethernet cable.

On the Windows network window, I can see the folder I'm sharing from the Linux computer. I can put Windows files in this folder, and it'll show up on Linux, however, everyone on the network can view those files.

How can I password protect that folder so that only I can have access to them from the Windows computer?

Thank you!
check out links below:
https://technet.microsoft.com/en-us/.../bb457007.aspx
https://community.spiceworks.com/top...a-share-folder
 
Old 08-05-2016, 09:11 PM   #5
Sanphorii
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for those links. I have checked them out - I am currently using a Windows Vista which does not have the encryption (with password) feature available.

Is there a way for me to send files directly to the Linux machine without it showing up on the network? This method will also work for me.
 
Old 08-05-2016, 09:26 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Sanphorii View Post
Thanks for those links. I have checked them out - I am currently using a Windows Vista which does not have the encryption (with password) feature available.

Is there a way for me to send files directly to the Linux machine without it showing up on the network? This method will also work for me.
I don't know if there is a way to send files w/o it showing up on the network. Sorry-

You could always use an external hard drive copy and than transfer those files from the Windows machine to the Linux machine.
 
Old 08-05-2016, 09:44 PM   #7
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
It might be safer for you to use a usb thumb drive rather than the network (sneakernet).
 
Old 08-06-2016, 05:34 AM   #8
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Lightbulb

Quote:
Originally Posted by Sanphorii View Post
Thanks for those links. I have checked them out - I am currently using a Windows Vista which does not have the encryption (with password) feature available.

Is there a way for me to send files directly to the Linux machine without it showing up on the network? This method will also work for me.
Explicitly define permissions in Windows, for example, remove "Everyone" or "Authenticated Permissions" then just assign the user who has access to the folder.

When someone browse the network, users without the proper permission will not see those folders.


To send files to Linux from Windows or vice versa, you can use WinSCP.

Good luck!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to password protect a folder or directory on Linux LXer Syndicated Linux News 0 08-20-2013 02:51 PM
password protect folder anshutyagi Linux - Newbie 2 04-25-2011 02:01 AM
Password protect folder? sall Linux - Security 4 07-18-2005 05:57 PM
Password Protect Folder?? sall Linux - Software 5 07-18-2005 06:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration