Thread: Secure LAN file sharing

  1. #1
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246

    Secure LAN file sharing

    How can I share a folder that others will need a password to read it?
    XP shares a folder over a workgroup but entering a workgroup doesn't require authentication.
    I never thought it would be a problem to do so till now that Im actually trying to do it.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  2. #2
    Make Fortran great again
    Join Date
    Sep 2009
    Posts
    1,413
    Newer versions of Windows have password-protected sharing. Personally, I like using an FTP server for sharing files.

  3. #3
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Epy View Post
    Newer versions of Windows have password-protected sharing. Personally, I like using an FTP server for sharing files.
    Also: apache + mod_ssl + mod_auth_digest + cgi upload. You can upload and download to the same directory, or set an alias to the root filesystem if you want a backstage pass.
    Last edited by MK27; 05-17-2011 at 10:19 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  4. #4
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by siavoshkc View Post
    How can I share a folder that others will need a password to read it?
    XP shares a folder over a workgroup but entering a workgroup doesn't require authentication.
    I never thought it would be a problem to do so till now that Im actually trying to do it.
    Give this a read... Installation and Networking Guidebook ... The File Sharing chapter gives you are quick overview of secure file sharing using XP and Win7...

    In the share's permissions, you can add users and control their access by passwords very easily. The only catch is the user will have to have an account on the target machine... So if he's accessing PC7 from PC6... he needs accounts on both machines.

    It's very easily done...
    Last edited by CommonTater; 05-17-2011 at 11:09 AM.

  5. #5
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246

    Thanks

    Thank you.

    I had a hard time making it work in XP. I had to disable Simple File Sharing.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  6. #6
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by siavoshkc View Post
    Thank you.

    I had a hard time making it work in XP. I had to disable Simple File Sharing.
    That's in my little guidebook as well... It's like the first thing you do when you install XP.

  7. #7
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Not sure if it's available on Windows, but SSH/SFTP is pretty nice (easy to set up, strong encryption, only one port to forward, decent speed).

  8. #8
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    If you are going the "Windows" native route, you may want to look into disabling administrative shares.

    SSH/SFTP is pretty nice
    This.

    There are native ports, some bits from "CYGWIN" around, and also "PUTTY".

    Soma

  9. #9
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by cyberfish View Post
    Not sure if it's available on Windows, but SSH/SFTP is pretty nice (easy to set up, strong encryption, only one port to forward, decent speed).
    Good lord... he's just setting up a file share with access permissions...

    Attachment 10591

  10. #10
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    639
    Psst, anonymizing your name works better when it's not the same as the URL of your website Also, the eraser tool works better than sticking partially transparent lines through stuff

  11. #11
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by adeyblue View Post
    Psst, anonymizing your name works better when it's not the same as the URL of your website Also, the eraser tool works better than sticking partially transparent lines through stuff
    Most people here know who I am by now... but I'd just as soon not shout it out in clear black letters...

    There's quite a leap between "not keeping a secret" and "shouting it from the rooftops"....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Secure File Deletion
    By mihnea in forum C Programming
    Replies: 7
    Last Post: 05-05-2009, 07:22 AM
  2. P2P file sharing
    By voodoo3182 in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 08-15-2005, 06:28 PM
  3. File Sharing
    By Shakespeare in forum C++ Programming
    Replies: 2
    Last Post: 10-26-2003, 10:08 AM
  4. FTPing a Text File To And From a Secure Domain
    By MagiZedd in forum C++ Programming
    Replies: 1
    Last Post: 12-31-2001, 04:59 PM