2002-03-11 13:49:50 +00:00
|
|
|
|
2002-03-26 16:11:18 +00:00
|
|
|
// strictly limit access to localhost:
|
|
|
|
if ( req.data.http_remotehost!="localhost" && req.data.http_remotehost!="127.0.0.1" ) {
|
|
|
|
app.__app__.logEvent( req.data.http_remotehost + " tried to access makekey");
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2002-03-11 13:49:50 +00:00
|
|
|
if ( checkAuth()==false ) return;
|
|
|
|
|
2002-03-26 16:11:18 +00:00
|
|
|
createAuth();
|
2002-03-11 13:49:50 +00:00
|
|
|
|