diff options
author | Robert Adams | 2015-04-11 22:07:16 -0700 |
---|---|---|
committer | Robert Adams | 2015-04-11 22:07:16 -0700 |
commit | d5ed6493d97c0ec25ae6027ee00b816a95094f70 (patch) | |
tree | d0c6f504a63bda42b66365de7286031bb241cad2 | |
parent | BulletSim: implement VEHICLE_REFERENCE_FRAME. Thanks Vegaslon!. (diff) | |
download | opensim-SC-d5ed6493d97c0ec25ae6027ee00b816a95094f70.zip opensim-SC-d5ed6493d97c0ec25ae6027ee00b816a95094f70.tar.gz opensim-SC-d5ed6493d97c0ec25ae6027ee00b816a95094f70.tar.bz2 opensim-SC-d5ed6493d97c0ec25ae6027ee00b816a95094f70.tar.xz |
Add 'osslEnable.ini' file which enables a restricted set of ossl functions.
An 'include' in OpenSim.ini would enable the ossl functions but, for the moment,
the functions are still disabled by default and this file is an example
of what could be done.
-rwxr-xr-x | bin/osslEnable.ini | 186 |
1 files changed, 186 insertions, 0 deletions
diff --git a/bin/osslEnable.ini b/bin/osslEnable.ini new file mode 100755 index 0000000..659f7c4 --- /dev/null +++ b/bin/osslEnable.ini | |||
@@ -0,0 +1,186 @@ | |||
1 | [XEngine] | ||
2 | AllowModFunctions = true | ||
3 | AllowOSFunctions = true | ||
4 | AllowLightshareFunctions = true | ||
5 | |||
6 | OSFunctionThreatLevel = VeryLow | ||
7 | |||
8 | ; Each of the ossl functions can be enabled or disabled individually. | ||
9 | ; To disable, set the value to 'false'. | ||
10 | ; To enable for everyone, set the value to 'true'. | ||
11 | ; To enable for individuals or groups, set it to a comma separated list. This checks | ||
12 | ; against the owner of the object containing the script. | ||
13 | ; The comma separated entries in the list may be one of: | ||
14 | ; "ESTATE_MANAGER" -- enable for estate manager | ||
15 | ; "ESTATE_OWNER" -- enable for estate owner | ||
16 | ; "PARCEL_OWNER" -- enable for parcel owner | ||
17 | ; "PARCEL_GROUP_MEMBER" -- enable for any member of the parcel group | ||
18 | ; uuid -- enable for owner of object with specified avatar ID | ||
19 | |||
20 | ; Allowing ossl functions for anyone owning a parcel can be dangerous especially if | ||
21 | ; a region is selling or otherwise giving away parcel ownership. By default, parcel | ||
22 | ; ownership or group membership does not enable ossl function. Uncomment the | ||
23 | ; appropriate line below to allow parcel ownership and groups to do restricted | ||
24 | ; ossl functions. | ||
25 | osslParcelO = "" | ||
26 | osslParcelOG = "" | ||
27 | ; osslParcelO = "PARCEL_OWNER" | ||
28 | ; osslParcelOG = "PARCEL_GROUP_MEMBER,PARCEL_OWNER" | ||
29 | |||
30 | ; ThreatLevel None | ||
31 | Allow_osDrawEllipse = true | ||
32 | Allow_osDrawFilledPolygon = true | ||
33 | Allow_osDrawFilledRectangle = true | ||
34 | Allow_osDrawImage = true | ||
35 | Allow_osDrawLine = true | ||
36 | Allow_osDrawPolygon = true | ||
37 | Allow_osDrawRectangle = true | ||
38 | Allow_osDrawText = true | ||
39 | Allow_osGetAgents = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
40 | Allow_osGetAvatarList = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
41 | Allow_osGetCurrentSunHour = true | ||
42 | Allow_osGetHealth = true | ||
43 | Allow_osGetInventoryDesc = true | ||
44 | Allow_osGetMapTexture = true | ||
45 | Allow_osGetRegionSize = true | ||
46 | Allow_osGetRezzingObject = true | ||
47 | Allow_osGetSunParam = true | ||
48 | Allow_osGetTerrainHeight = true | ||
49 | Allow_osIsNpc = true | ||
50 | Allow_osIsUUID = true | ||
51 | Allow_osList2Double = true | ||
52 | Allow_osMax = true | ||
53 | Allow_osMin = true | ||
54 | Allow_osMovePen = true | ||
55 | Allow_osNpcGetOwner = true | ||
56 | Allow_osParseJSON = true | ||
57 | Allow_osParseJSONNew = true | ||
58 | Allow_osSetFontName = true | ||
59 | Allow_osSetFontSize = true | ||
60 | Allow_osSetPenCap = true | ||
61 | Allow_osSetPenColor = true | ||
62 | Allow_osSetPenSize = true | ||
63 | Allow_osSetSunParam = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
64 | Allow_osTeleportOwner = true | ||
65 | Allow_osWindActiveModelPluginName = true | ||
66 | |||
67 | ; ThreatLevel Nuisance | ||
68 | Allow_osSetEstateSunSettings = ESTATE_MANAGER,ESTATE_OWNER | ||
69 | Allow_osSetRegionSunSettings = ESTATE_MANAGER,ESTATE_OWNER | ||
70 | |||
71 | ; ThreatLevel VeryLow | ||
72 | Allow_osEjectFromGroup = true | ||
73 | Allow_osForceBreakAllLinks = true | ||
74 | Allow_osForceBreakLink = true | ||
75 | Allow_osGetDrawStringSize = true | ||
76 | Allow_osGetWindParam = true | ||
77 | Allow_osInviteToGroup = true | ||
78 | Allow_osReplaceString = true | ||
79 | Allow_osSetDynamicTextureData = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
80 | Allow_osSetDynamicTextureDataBlend = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
81 | Allow_osSetDynamicTextureDataBlendFace = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
82 | Allow_osSetDynamicTextureURL = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
83 | Allow_osSetDynamicTextureURLBlend = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
84 | Allow_osSetDynamicTextureURLBlendFace = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
85 | Allow_osSetParcelMediaURL = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
86 | Allow_osSetParcelSIPAddress = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
87 | Allow_osSetPrimFloatOnWater = true | ||
88 | Allow_osSetWindParam = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
89 | Allow_osTerrainFlush = ESTATE_MANAGER,ESTATE_OWNER | ||
90 | Allow_osUnixTimeToTimestamp = true | ||
91 | |||
92 | ; ThreatLevel Low | ||
93 | Allow_osAvatarName2Key = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
94 | Allow_osFormatString = true | ||
95 | Allow_osKey2Name = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
96 | Allow_osListenRegex = true | ||
97 | Allow_osLoadedCreationDate = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
98 | Allow_osLoadedCreationID = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
99 | Allow_osLoadedCreationTime = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
100 | Allow_osMessageObject = true | ||
101 | Allow_osRegexIsMatch = true | ||
102 | |||
103 | ; ThreatLevel Moderate | ||
104 | Allow_osDropAttachment = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
105 | Allow_osDropAttachmentAt = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
106 | Allow_osGetGridCustom = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
107 | Allow_osGetGridGatekeeperURI = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
108 | Allow_osGetGridHomeURI = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
109 | Allow_osGetGridLoginURI = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
110 | Allow_osGetGridName = true | ||
111 | Allow_osGetGridNick = true | ||
112 | Allow_osGetNumberOfAttachments = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
113 | Allow_osGetRegionStats = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
114 | Allow_osGetSimulatorMemory = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
115 | Allow_osMessageAttachments = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
116 | Allow_osSetSpeed = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
117 | |||
118 | ; High | ||
119 | Allow_osCauseDamage = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
120 | Allow_osCauseHealing = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
121 | Allow_osForceAttachToAvatar = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
122 | Allow_osForceAttachToAvatarFromInventory = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
123 | Allow_osForceCreateLink = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
124 | Allow_osForceDropAttachment = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
125 | Allow_osForceDropAttachmentAt = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
126 | Allow_osGetAgentIP = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
127 | Allow_osGetLinkPrimitiveParams = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
128 | Allow_osGetPhysicsEngineType = true | ||
129 | Allow_osGetPrimitiveParams = true | ||
130 | Allow_osGetRegionMapTexture = ESTATE_OWNER, ESTATE_MANAGER, PARCEL_OWNER | ||
131 | Allow_osGetScriptEngineName = true | ||
132 | Allow_osGetSimulatorVersion = true | ||
133 | Allow_osMakeNotecard = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
134 | Allow_osMatchString = true | ||
135 | Allow_osNpcCreate = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
136 | Allow_osNpcGetPos = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
137 | Allow_osNpcGetRot = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
138 | Allow_osNpcLoadAppearance = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
139 | Allow_osNpcMoveTo = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
140 | Allow_osNpcMoveToTarget = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
141 | Allow_osNpcPlayAnimation = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
142 | Allow_osNpcRemove = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
143 | Allow_osNpcSaveAppearance = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
144 | Allow_osNpcSay = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
145 | Allow_osNpcSetRot = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
146 | Allow_osNpcShout = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
147 | Allow_osNpcSit = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
148 | Allow_osNpcStand = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
149 | Allow_osNpcStopAnimation = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
150 | Allow_osNpcStopMoveToTarget = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
151 | Allow_osNpcTouch = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
152 | Allow_osNpcWhisper = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
153 | Allow_osOwnerSaveAppearance = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
154 | Allow_osParcelJoin = ESTATE_OWNER, ESTATE_MANAGER | ||
155 | Allow_osParcelSubdivide = ESTATE_MANAGER,ESTATE_OWNER | ||
156 | Allow_osRegionRestart = ESTATE_MANAGER,ESTATE_OWNER | ||
157 | Allow_osSetContentType = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
158 | Allow_osSetPrimitiveParams = true | ||
159 | Allow_osSetProjectionParams = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
160 | Allow_osSetRegionWaterHeight = ESTATE_MANAGER,ESTATE_OWNER | ||
161 | Allow_osSetStateEvents = false | ||
162 | Allow_osSetTerrainHeight = ESTATE_MANAGER,ESTATE_OWNER | ||
163 | Allow_osSetTerrainTexture = ESTATE_MANAGER,ESTATE_OWNER | ||
164 | Allow_osSetTerrainTextureHeight = ESTATE_MANAGER,ESTATE_OWNER | ||
165 | |||
166 | ; VeryHigh | ||
167 | Allow_osAgentSaveAppearance = ESTATE_OWNER, ESTATE_MANAGER | ||
168 | Allow_osAvatarPlayAnimation = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
169 | Allow_osAvatarStopAnimation = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
170 | Allow_osForceDetachFromAvatar = ESTATE_OWNER, ESTATE_MANAGER | ||
171 | Allow_osForceOtherSit = ESTATE_OWNER, ESTATE_MANAGER | ||
172 | Allow_osGetNotecard = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
173 | Allow_osGetNotecardLine = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
174 | Allow_osGetNumberOfNotecardLines = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
175 | Allow_osRegionNotice = ESTATE_OWNER, ESTATE_MANAGER | ||
176 | Allow_osSetRot = ESTATE_OWNER, ESTATE_MANAGER | ||
177 | Allow_osSetParcelDetails = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
178 | |||
179 | ; Severe | ||
180 | Allow_osConsoleCommand = false | ||
181 | Allow_osForceAttachToOtherAvatarFromInventory = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
182 | Allow_osGrantScriptPermissions = false | ||
183 | Allow_osKickAvatar = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
184 | Allow_osRevokeScriptPermissions = false | ||
185 | Allow_osTeleportAgent = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
186 | |||