Fat Bloke was recently asked about hiding, or really protecting, the new SGD administration console so that administration could only be done from say certain locations.

Well, I guess one of the advantages of making the Administration Console a web application is that we can use the power of the web server to help with this.

There are a couple of ways of doing this but I guess a simple way is to use the Apache Location directive:

<Location /sgdadmin>
    Order Deny,Allow
    Deny from all
    Allow from 129.156.4.240
</Location>

For more info on how to drive this check the Apache doc.

-FB 

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by TheFatBloke