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> 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. 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 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
Archived
This topic is now archived and is closed to further replies.