mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
102e4840b3
- 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
)
20 lines
365 B
Plaintext
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:
|
|
*/
|
|
%>
|