English 中文(简体)
Limiting the number of variables that one can use in twiki
原标题:

Can I somehow limit the number of variables that a user can have access to somehow. Thanks in advance for replying.

最佳回答

I finally got the answer to the problem. Read the discussion for further details.

问题回答

Your Main.TWikiPreferences and your WebPreferences allow you to set a variable called FINALPREFERENCES. You can set this to a list of variables. These variables are locked. If, for example, the FINALPREFERENCES in your TWikiPreferences mention the variable DOCWEB, this variable cannot be modified in any WebPreferences, topics or user preferences.

You can read more about preferences and access control in TWiki (the same topics should be present in your local TWiki installation).

Note: I m a Foswiki admin, I do not use TWiki anymore. While the mechanism described is the same in Foswiki and TWiki, variables and topics might have slightly different names and I am not 100% sure if I have used the correct TWiki names in the above. Nevertheless, you should be abled fo find such details when you follow the links provided.





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

MALICIOUS_CODE EI_EXPOSE_REP Medium

I run findbugs against all of my code and only tackle the top stuff. I finally got the top stuff resolved and now am looking at the details. I have a simple entity, say a user: public class User ...

XSS on jsbin.com

Anyone know if jsbin.com implements any protection for XSS or other javascript attacks? I see jsbin links used fairly regularly on sites like this one and I can t find any indication from the site ...

Make md5 strong

Im making a website that will intergrate with game that only support md5 hashing metod (atm). Which ofc is not especially safe anymore. But how could i make it stronger? Should I just generate long ...

Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

热门标签