//// strictly limit access to localhost: //if ( req.data.http_remotehost!="localhost" && req.data.http_remotehost!="127.0.0.1" ) { // app.logEvent( req.data.http_remotehost + " tried to access makekey"); // return; //} if ( checkAuth()==false ) return; createAuth();