Difficulty: Moderately Easy
Things You’ll Need:
- Internet access
- Web server
Step1
Decide which areas to limit. The first step is to decide what part of your server should have open access and what part should have limited access. You should limit access to the parts that are sensitive and non-essential to the employee.
Step2
Create IP and domain name restrictions. To do this, you must create an ".htaccess" file with the restricted directories. Use the following sample code, as it is looks below:
# this is an .htaccess file for IP addresses
# limit the types of access
# define how restriction will be processed
order deny, allow
# define who to deny and allow
deny from all
allow from .ncsu.edu
# close the directive
Step3
Limit access through usernames and passwords. To limit access by a username and password you must first define users or sets of users by creating access groups. Next, you can create an ".htaccess" file that specifies these users or groups.
Step4
Let your employees know how to access the server. Once the limited server is set up, let your employees know the address or password needed to access the server. Be sure to specify the limitations to their access.