Bickey Posted February 10, 2011 Share Posted February 10, 2011 How can I make a specified IP access a certain folder (URL)? I came across this code but I'm not sure how to make it access just one folder AuthName "Protected" AuthType Basic <Limit GET POST> order deny,allow deny from all allow from 100.100.100. </Limit> Quote Link to comment https://forums.phpfreaks.com/topic/227233-access-this-folder-from-a-specified-ip/ Share on other sites More sharing options...
requinix Posted February 10, 2011 Share Posted February 10, 2011 Stick the Order/et al. directives in a .htaccess in the folder. Quote Link to comment https://forums.phpfreaks.com/topic/227233-access-this-folder-from-a-specified-ip/#findComment-1172201 Share on other sites More sharing options...
Dragosvr92 Posted February 18, 2011 Share Posted February 18, 2011 more simple to say/understand put the .htaccess file into the folder you want the x settings to apply if you put it in the rood folder it will affect all the other folders Quote Link to comment https://forums.phpfreaks.com/topic/227233-access-this-folder-from-a-specified-ip/#findComment-1175983 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.