1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/services/json_auth.esp
Derrell Lipman 102e4840b3 r20559: Web Application Framework
- Disallow, for now, any ScriptTransport access.  A serious security issue has
  been described, and since we don't currently need it for anything, disable
  it completely.

- Continued clean-up towards implementing the common authentication code
(This used to be commit 07817a5489)
2007-10-10 14:36:56 -05:00

20 lines
365 B
Plaintext

<%
/* Return true to allow access; false otherwise */
function json_authenticate(serviceComponents, method, scriptTransportId)
{
// Don't allow any access via ScriptTransport, for now.
if (scriptTransportId != jsonrpc.Constant.ScriptTransport.NotInUse)
{
return false;
}
return true;
}
/*
* Local Variables:
* mode: c
* End:
*/
%>