• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 369
  • Last Modified:

Best option for remote user to get direct access to folder on server?

I want a remote user to be able to access a certain folder on the domain server and view/modify/add files to that folder. Is ftp the best option? Is there a way with ftp I could map a drive for the user... and the user can directly access it without having to move the file to his local pc and back again?
0
MFredin
Asked:
MFredin
  • 25
  • 18
  • 5
  • +2
1 Solution
 
JimsZCommented:
depends on what type of security you want... If you want the user to just have access to the file you can "share the folder" and have them map to it with pass, etc... you can do ftp and that folder will look like a drive, etc..
0
 
JimsZCommented:
as far as modify, they would actually have to download the file, modify it, then re-upload it using ftp... the shared folder would allow modification right there
0
 
MFredinAuthor Commented:
Ok then ftp isn't really what I'm looking for. "the shared folder would allow modification right there".... how would I go about doing this?  Security is also a big priority.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
savoneCommented:
If your not using active directory:

1) Create user accounts for people that need access to the folder.  Make these accounts on the machine that will hold the folder.

2) Create a folder on the drive you want to be the "server" or the machine sharing the file.

3) Right click the folder and go to teh security tab.  Here you can set the permissions for the users.  Add the users to the list and select what kind of rights they will have.  

Note:  If you have alot of users, you can make a group.  Give the group access to the folder and then place these users into the group.  This will let you easily give people access to the folder and keep everything a little tidy.

0
 
JimsZCommented:
MFredrin... you will have security just fine using shared folders so long as you set the accounts and permissions.  Savone did just fine in explaining the setup.   You can give read only, modify, delete, etc priveledges with shared folders
0
 
MFredinAuthor Commented:
Thanks guys... I understand how to create a user, security and all that. But how do I actually share the folder to the remote user? Can I do that?
0
 
luv2smileCommented:
Right click on the folder- properties- sharing

choose to share the folder

Don't worry too much with the share permissions.   When sharing files, there are two types of permissions share and NTFS (those on the security tab).  I always set share permissions to allow everyone access then I use the NTFS permissions to actually control who has access and what type of access they have.  It has been described above how to do this.
0
 
MFredinAuthor Commented:
OK I understand all the permissions and sharing the folder.... but how is the remote user going to access the shared folder? Thats what I'm trying to figure out.  Someone mentioned sharing a folder instead of using ftp. Fine I can do that but how will the remote user get access to the folder? Theres gotta be more to it then just sharing a folder.
0
 
JimsZCommented:
your ip address or computer name..



\\insysfile01\   if it's named INSYSFILE01

\\127.0.0.1\   (if the ip of that machine is 127.0.0.1

etc...
0
 
JimsZCommented:
once you go to the other machine and type in

\\(yourcomputername)\

you will see any available shares, then they have to connect to the share and can map it as a network drive under their username/permissions given

0
 
MFredinAuthor Commented:
I think your talking if the user is on the network. I'm talking sharing the folder over the internet. Thats what I mean when I say remote user.  So say a user that wants to work from home. Is that possible?
0
 
JimsZCommented:
In that case, just have to use the external ip addy of the machine you are talking about
0
 
MFredinAuthor Commented:
So I could just do something like this then?  \\external ip\share name ?  Ok that sounds easy enough... I'll let you know how it goes. Thanks
0
 
JimsZCommented:
no problem..  can do \\external ip\ and will give you the shares available to it there



can also do "net use F: \\external ip\sharename" to map the drive to local machine etc..
Would give a mapped drive as F: on their local machine to the share you have for them
0
 
MFredinAuthor Commented:
Awesome!  JimsZ, could I also create a script to map the drive automatically? If so could you point me in the right direction to do that?
0
 
MFredinAuthor Commented:
I just tried connecting by doing the \\ipaddress\.  It gives me the error "Windows cannot find \\66.60.X.X\ . Check the spelling and try again... blah blah."  Is there a port I need to forward to the server on the router?
0
 
JimsZCommented:
port 139 forwarded to that machine should do it
0
 
MFredinAuthor Commented:
I forwarded that port. I went home, tried to connect but couldn't. I can't seem to ping either. But terminal services and my vpn connection to that ip work just fine from that remote computer. Got any ideas?
0
 
JimsZCommented:
you have a vpn connection through the router?   Then you should be able to just vpn in, then see the share by either the internal ip address, or the computer name.  
0
 
JimsZCommented:
Is netbios installed on that machine?
0
 
MFredinAuthor Commented:
Is netbios installed on the server? I believe so but how could I check?  I will be using a different machine with out the vpn connection to do this. I don't want to have to worry about dialing in all the time for this remote user.
0
 
JimsZCommented:
did you try to connect to that share while you "were at work" ?  Just to make sure that share is even showing ?
0
 
MFredinAuthor Commented:
The share is working when I got threw network neighborhood or type in \\servername\share... or \\serverip\share .  But when I type \\externalip\share it gives me that error.  So its not working by using the external ip even tho I have port 139 forwarded to the server ip.
0
 
JimsZCommented:
netbios uses a few ports in that range, it could be hitting another port...

could be 137, 138, 139

are you anywhere to where you could connect into the router and forward 137, 138 as well ?
0
 
MFredinAuthor Commented:
I forwarded ports 136-140 for the hell of it. Still get the same deal. When I just type the ip in without the \\ it brings me to the router setup if that helps at all. Otherwise its still doing the same thing... just giving me that error.
0
 
MFredinAuthor Commented:
I was doing some reading and found out the the Netbios port for windows 2000 is 445. I forwarded this port to the server but still get the same trouble.
0
 
MFredinAuthor Commented:
I forwarded port 80 to the server as well and I can pull up the intranet just fine from home. So I can connect to the web server, terminal services, & vpn server just fine but still cannot get to my shares!  Any other ideas?
0
 
JimsZCommented:
do you have NWLink IPX/SPX/NetBIOS Compatible Transport Protocol installed at home?  Can you connect to other shares off your home pc?  If you don't have NetBIOS installed at home, that would be a big reason why you can't connect.  Plus, don't VPN in if you are trying from home, just connect over internet.
0
 
MFredinAuthor Commented:
I don't think I have it installed at home. Isn't that for Novell Net Ware tho? Anyways I installed it here at work and still get the same deal. No go.
0
 
JimsZCommented:
it's for the netbios protocol.  I thought you told me you could see the share just fine from work connecting locally?
0
 
MFredinAuthor Commented:
I can see the share if I go threw network neighborhood. Or type in \\servername\share.... but I can't type in \\outsideip\share and see it.  NetBios is enabled on the server connection... is there any need to install the NWLink IPX/SPX/NetBIOS proticol on the server connection?
0
 
JimsZCommented:
then that is a problem with your routing...  The share is available, you're just not forwarded to the share.  Can you browse the share by using "interntal ip adressing" ?  \\192.168.0.2\ figuring that is internal ip address...
0
 
MFredinAuthor Commented:
yeah I can use the internal ip with no problem.
0
 
JimsZCommented:
have you done a netstat on the machine to see which ports it's listening to?


netstat -a
0
 
MFredinAuthor Commented:
It doesn't list the netbios port (445) but it does say domainname:netbios-ssn  Theres a bunch of them... then computer names are listed after. Ex.  TCP beefserv:netbios-ssn   Server.domainname:0     LISTENING
0
 
JimsZCommented:
try netstat -a -n
0
 
MFredinAuthor Commented:
It shows that the server is listening and has connections established on the netbios ports 135 and 445.  
0
 
JimsZCommented:
what port is it listening on... change your router to listen to that port
0
 
MFredinAuthor Commented:
It's listening on ports 135 and 445.  I already have these ports forwarded on the router to the server ip.
0
 
MFredinAuthor Commented:
Any other ideas JimsZ??
0
 
BILJAXCommented:
Ok, so you can VPN into the network.

map the drive like this


net use X: \\INTERNAL SERVER IP\SHARE /persistent:yes
0
 
BILJAXCommented:
Under "Sharing", you can publish as "Web Sharing".
make sure IIS is running on the webserver and that you give yourself permission on the WEBSHARE.


Make sure port 80 and 136 are forwarded to your server.


AC
0
 
BILJAXCommented:
err port 135, sorry :)



AC
0
 
MFredinAuthor Commented:
BILJAX -  This remote user will not have vpn access. Can I setup websharing so he can just type \\externalnetworkIP\share and access the share instead of having to vpn into the network?
0
 
BILJAXCommented:
you could, but that is a BIG BIG security risk.
0
 
MFredinAuthor Commented:
hmmm.... so you would recommend vpn? Is there any easier way? I just want to be able to have the remote user access the file, quickly, and without having to worry about the hastle with ftp. Any other recommendations? Thanks for the help.
0
 
MFredinAuthor Commented:
Could I do this threw my website? Using web sharing? If so, could you point me in the right direction. How do I set up a link and security for that?
0
 
MFredinAuthor Commented:
How about setting up a web folder? Do you have any information on doing this?
0
 
MFredinAuthor Commented:
I figured out the web folders thing. This is exactly what I wanted. And it used the server security. I just created a username for the remote user, gave the appropriate access and it seems to work great!
0
 
BILJAXCommented:
Excellent, I'm glad that helped.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 25
  • 18
  • 5
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now