image
image

Go Back   macosx.com > Mac Help Forums > Networking & Compatibility

Reply
 
Thread Tools
  #1  
Old June 6th, 2008, 02:11 AM
Registered User
 
Join Date: Jun 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
us3r is on a distinguished road
FTP Sharing.. big security problem

Hi,
Sorry i dont speak english very well...

I know how i must share some folder on macosx. But this doesnt work. For example i want share on ftp only one folder "test" (/Users/us3r/test). I add only this folder in System Preferences -> Sharing -> File Sharing. But if i connect with my ftp i get access to whole system (for example i can download /etc/passwd !). Of course i can install other ftp serwer like vsftpd, but i want to know what i do wrong. I am sharing only one folder, but if i connect with my server i get /Users/us3r. I can type "cd /etc", and i get access to /etc.

Again sorry for my english...
Reply With Quote
  #2  
Old June 6th, 2008, 02:26 AM
Registered User
 
Join Date: Jul 2002
Posts: 371
Thanks: 0
Thanked 0 Times in 0 Posts
elander will become famous soon enough
The reason you get access to everything is that you connect as an administrator user. They have access to everything. If you connect as guest you only get access to the shared folder. If you want more fine tuned access, you'll have to dig deeper into the configurations of the built-in ftp server, or install another one.
__________________
/elander
website: http://www.scribus.se/
Reply With Quote
  #3  
Old June 6th, 2008, 03:10 AM
Registered User
 
Join Date: Jun 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
us3r is on a distinguished road
Thank You elander for respone,

Ok i turn on guest acount. I add user "xyz" only for share. If i try connect to my ftp with login xyz i get error :

Quote:
ncftp -u xyz 192.168.9.59
NcFTP 3.2.1 (Jul 29, 2007) by Mike Gleason (http://www.NcFTP.com/contact/).
Connecting to 192.168.9.59...
192.168.9.59 FTP server (tnftpd 20061217) ready.
Logging in...
Password requested by 192.168.9.59 for user "xyz".

Password required for xyz.

Password: *****
User xyz may not use FTP.
Could not open host 192.168.9.59: username and/or password was not accepted for login.

ncftp>
What now is wrong?
Reply With Quote
  #4  
Old June 6th, 2008, 03:48 AM
Registered User
 
Join Date: Jun 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
us3r is on a distinguished road
Thank You for response

Ok, I turn on guest account (for connet to share folders). Next i add "xyz" account (only for share) and i add share folder:
Screen
(legend: "tylko odczyt" - "only read" , "odczyt i zapis" - "read and write" )

I get this error when i'm try connect with my server:
Error


What now is wrong?
Reply With Quote
  #5  
Old June 6th, 2008, 08:05 AM
Registered User
 
Join Date: Jun 2002
Location: USA
Posts: 2,509
Thanks: 1
Thanked 3 Times in 3 Posts
MisterMe will become famous soon enough
Sharepoints

You can share whichever folder you want with the free server Sharepoints.
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 06:39 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.