Solved

Restrict windows fileshare by IP or hostname

Posted on 2013-01-10
6
1,516 Views
Last Modified: 2013-01-16
We have a Windows 2008 file server that has some shares on it and access to these shares is controlled by NTFS permissions. However there is one share that has a special requirement that it should not be accessible remotely . We have used 2008 GPO preferences to map the drive based on source IP's and groups so when users who have access to this share connect remotely via Citrix they do not get this share mapped but they are still able to click on a link or UNC into the share. Is there any way to restrict this share itself to internal IP or hostname of their computer only?

Eg:

Dir: c:\shared_folder shared as Share1
allowed hosts: IP address, IP range or Computer name &
allowed users: DOMAIN\SecurityGroup

Access should be allowed if both conditions are met. I am not sure if this is possible. Thanks for your help
0
Comment
Question by:nassr101
6 Comments
 
LVL 9

Expert Comment

by:djsharma
ID: 38766308
0
 

Author Comment

by:nassr101
ID: 38766360
Thanks for replying. I am not sure if restricted groups is the solution. I do not need to control or modify access to groups on the server. I need to restrict access to a share based on where the user is connecting from.

Internal LAN IP = allow access
Remote access IP = deny access

Not sure if this is possible at all.
0
 
LVL 23

Expert Comment

by:Coralon
ID: 38769400
Is that server used for anything else from the Citrix environment?

If it is not, you could put in a dummy host entry to prevent it from being easily 'found'.  

Another option might be tinkering with IPSec.. but that's more than I have ever done.

Another option that springs to mind.. maybe add that particular server to the untrusted sites zone?

Coralon
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 12

Accepted Solution

by:
TomRScott earned 500 total points
ID: 38769529
Start with hiding the share by appending "$" to the share name. And changing the share name at the same time is recommended.

That will stop the GUI "clicking" for all but administrators. BUT, those that know or can guess the share name can still map the drive using a command line.

This may be a start. However, it is really security through obscurity and obviously not the ultimate solution.

Depending on the bandwidth requirements of this and the other shares and resources available on the server you could use Hyper-V and create a guest server for the cost of another OS, dedicating one or more CPU cores and some RAM from the now virtual host server.  That done, you could then dedicate the guest server to that one share (and others like it to follow) and block all remote traffic to it from the remote zones at the Citrix host.

The latter does cost an OS ($) and some resources but is a more vanilla configuration.

 - Tom
0
 

Author Comment

by:nassr101
ID: 38769588
Thanks Tom, it is certainly a good work around. I will leave the question open for a couple of days to see if someone else can suggest something else. Cheers.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 38769965
The only possibility to restrict by IP would be to block/allow the file and print service ports by specific IP or subnet when accessing remotely by VPN or other means, however where you are using Citrix/RDP they are the same LAN so that rules that possibility out.

The only other option would be if a 3rd party add-on exists that monitors IP's and controls connections, but I personally have never seen one that would do that.  Usually access is controlled by user name and associated NTFS/security permissions on the file/folder.
0

Featured Post

How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now