Link to home
Create AccountLog in
Avatar of basskozz
basskozz

asked on

.htaccess limit to 1 ip address ?

How can I setup an .htaccess to only allow 1 IP address ( no need for password protection)?
ASKER CERTIFIED SOLUTION
Avatar of Dave Howe
Dave Howe
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of basskozz
basskozz

ASKER

Thanks Dave,

Not do I simply add that to a .htaccess file (using notepad) and drop it in the directory I want to protect?
yup.
Thanks Dave :)