I have a user A with IP AAA, this user needs to access a directory of an other user B (with IP BBB) with CURL on the same server (Directadmin/CentOS/IP CCC) This directory of this user is locked with HTAccess. Normally for outside users I would open the directory in the HTAccess by adding his/her IP address to the HTAccess file.
When I add IP of user A to the HTAccess of user B, the directory stays blocked.
When I add IP of the server to the HTAccess of user B, the directory stays blocked.
When I add IP of user B to the HTAccess, the directory is open for user A, but also for all other users on the server
$REMOTE_ADDR testing gives the same results...
<Limit GET POST PUT PATCH DELETE>
order deny,allow
deny from all
allow from XXX.XXX.XXX.XXX
allow from AAA.AAA.AAA.AAA
</Limit>
What am I doing wrong? Is this a limitation of Curl? CentOS? Tried and searched a lot, but can not find it...
When I add IP of user A to the HTAccess of user B, the directory stays blocked.
When I add IP of the server to the HTAccess of user B, the directory stays blocked.
When I add IP of user B to the HTAccess, the directory is open for user A, but also for all other users on the server
$REMOTE_ADDR testing gives the same results...
<Limit GET POST PUT PATCH DELETE>
order deny,allow
deny from all
allow from XXX.XXX.XXX.XXX
allow from AAA.AAA.AAA.AAA
</Limit>
What am I doing wrong? Is this a limitation of Curl? CentOS? Tried and searched a lot, but can not find it...