BasicSecurityforWebAccess

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(Basic Security for Web Access)
m
Line 4: Line 4:
 
By default, the ago control web gui does not have security.  While this may be fine for local control, you definitely do not want to leave your web gui open to random remote access.  A simple username/password system can easily be installed by doing:
 
By default, the ago control web gui does not have security.  While this may be fine for local control, you definitely do not want to leave your web gui open to random remote access.  A simple username/password system can easily be installed by doing:
  
  /opt/agocontrol/bin/rpc-htpasswd /opt/agocontrol/html/.htpasswd mydomain.com your_username_here your_password_here
+
  /opt/agocontrol/bin/rpc-htpasswd /opt/agocontrol/html/.htpasswd agocontrol your_username_here your_password_here
  
 
You can add additional users using the same command while using different username and password values.  You can also update a user's password using the same command you used to set it initially.
 
You can add additional users using the same command while using different username and password values.  You can also update a user's password using the same command you used to set it initially.
  
'''NOTE:''' You '''must''' use 'mydomain.com' for the domain name.  This may change in the future.
+
'''NOTE:''' You '''must''' match the domain name with the 'domainname' setting in rpc.conf. It defaults to 'agocontrol' for the domain name.

Revision as of 18:57, 13 May 2014

Basic Security for Web Access

By default, the ago control web gui does not have security. While this may be fine for local control, you definitely do not want to leave your web gui open to random remote access. A simple username/password system can easily be installed by doing:

/opt/agocontrol/bin/rpc-htpasswd /opt/agocontrol/html/.htpasswd agocontrol your_username_here your_password_here

You can add additional users using the same command while using different username and password values. You can also update a user's password using the same command you used to set it initially.

NOTE: You must match the domain name with the 'domainname' setting in rpc.conf. It defaults to 'agocontrol' for the domain name.

Personal tools