Difference between revisions of "Project:Tool Access Control/ACNet"

From London Hackspace Wiki
Jump to navigation Jump to search
Line 45: Line 45:
 
Currently proposed  (and built) by Solexious [[Project:Tool_Access_Control/Solexious_Proposal|Link]]
 
Currently proposed  (and built) by Solexious [[Project:Tool_Access_Control/Solexious_Proposal|Link]]
 
== AC Server ==
 
== AC Server ==
Python Flask implementation started by [[User:ms7821|ms7821]] can be located here [https://github.com/londonhackspace/ACNode ACServer (not node)]
+
Python Flask implementation started by [[User:ms7821|ms7821]] can be located here [https://github.com/londonhackspace/ACNode ACServer (not node)] further improved by Aaron and [[User:mentar|mentar]]
 +
 
 +
Currently running on Babbage for dev purposes, will be run on a secure box after.
 +
 
 +
=== Running ===
 +
Go to a shell on babbage.
 +
 
 +
Make sure it's not already running by:
 +
 
 +
<code>sudo lsof -i :1234</code>
 +
 
 +
Then:
 +
 
 +
<code>cd /var/www/ACNode</code>
 +
 
 +
<code>./start.sh</code>
  
 
== Membership DB ==
 
== Membership DB ==
 
Running on Turing VM slice (hosted outside the space as it has personal data). Accessed in JSON format.
 
Running on Turing VM slice (hosted outside the space as it has personal data). Accessed in JSON format.

Revision as of 14:40, 6 March 2013

Summary

This page aims to scope out the different projects that work together as part of the Access Control Network. The main components are:

  • ACNode - The clients that sit on the tool that is being controlled and manage physical access by reading the rfid card.
  • ACServer - The server stores the authentication information and pulls membership information from Turing over JSON and stores is at a SQLite DB
  • Membership DB - Secured storage of membership data.

System diagram

<graphviz border='frame' format='png' >

digraph rfboard{
  rankdir=TD;
  size="10,5!";
  
  subgraph cluster_0 {

node [shape=box,style=filled,color=lightgrey]; label = "ACServer";

       sqlite [label="SQLite",shape=box];
       httpserver [label="HTTP server",shape=box];
       httpserver -> sqlite;
       sqlite -> httpserver; 
  }
  acnode1 [label="ACNode",shape=box];
  acnode2 [label="ACNode",shape=box];
  acnode3 [label="ACNode",shape=box];
 
  membershipdb [label="Membership DB",shape=box];


  acnode1 -> httpserver;
  acnode2 -> httpserver;
  acnode3 -> httpserver;
  httpserver -> acnode1;
  httpserver -> acnode2;
  httpserver -> acnode3;
  membershipdb-> httpserver;

} </graphviz>

AC Node

Currently proposed (and built) by Solexious Link

AC Server

Python Flask implementation started by ms7821 can be located here ACServer (not node) further improved by Aaron and mentar

Currently running on Babbage for dev purposes, will be run on a secure box after.

Running

Go to a shell on babbage.

Make sure it's not already running by:

sudo lsof -i :1234

Then:

cd /var/www/ACNode

./start.sh

Membership DB

Running on Turing VM slice (hosted outside the space as it has personal data). Accessed in JSON format.