From 24b1e84ecad28a74565163957d0e9ba1a58d55ec Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 19 Oct 2019 09:59:15 +0100 Subject: change osSetDynamicTextureURL(Blend) to ThreatLevel.VeryHigh,ESTATE_MANAGER,ESTATE_OWNER --- .../Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 641975a..d82d661 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -753,7 +753,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void osSetRot(UUID target, Quaternion rotation) { - // This function has no security. It can be used to destroy + // if enabled It can be used to destroy // arbitrary builds the user would normally have no rights to // CheckThreatLevel(ThreatLevel.VeryHigh, "osSetRot"); @@ -778,10 +778,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer) { - // This may be upgraded depending on the griefing or DOS - // potential, or guarded with a delay - // - CheckThreatLevel(ThreatLevel.VeryLow, "osSetDynamicTextureURL"); + CheckThreatLevel(ThreatLevel.VeryHigh, "osSetDynamicTextureURL"); if (dynamicID == String.Empty) { @@ -802,7 +799,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams, int timer, int alpha) { - CheckThreatLevel(ThreatLevel.VeryLow, "osSetDynamicTextureURLBlend"); + CheckThreatLevel(ThreatLevel.VeryHigh, "osSetDynamicTextureURLBlend"); if (dynamicID == String.Empty) { -- cgit v1.1