Closed (won't fix)
Project:
Services
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2012 at 02:53 UTC
Updated:
20 Sep 2012 at 02:42 UTC
Would it be possible to add some code to restrict access to services based on IP Address? I'm using services with the Deploy module (which only works on 2.x for now). Since it's an older version, I'm concerned about security holes and figure that restricting to the IP of my other drupal server would provide a good layer of security.
Note: I'm willing to just hard code this in the module code itself, but I'm not sure where it would fit best. Any hints as to where to place such a check?
Comments
Comment #1
marcingy commented6.x.2 is no longer supported - but this might help you? http://drupal.org/node/623128
Comment #2
solomonson commentedThank you very much for the tip. I just thought of an easier way to protect the services. I just edited the config file for my web server to not allow traffic outside of my other server's address for /services:
lighttpd.conf:
Is this enough to block ALL services traffic? Are there other URL's I should be blocking?