helma/Root/makekey.hac

11 lines
270 B
Text

// 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;
}
if ( checkAuth()==false ) return;
createAuth();