

Second, the results of the Feature methods should not be cached, suchĪs by calling feature.is_enabled once and storing the result in an Chances are in such a case you don’t really want to be using theįeature API but rather simply driving your code with some plain old config Names at run time and then checking them, you’re probably abusing the Feature This will make it easier to find all the places To make it easier to push features through the life cycle there are aįirst, the feature name argument to the Feature method ( is_enabled) shouldĪlways be a string literal. Load shedding, security, etc.Ĭopied essentially wholesale from Etsy's guidelines: To guard something that you might need to quickly turn off for some reason To gradually add traffic to something that may have serious To release something to third party devs and mods before it goes live To admin-launch something to the company for review before it goes live to This is useful for a whole lot of reasons. Such storage should not be relied on to secure sensitive information or to provide adequate personal privacy safeguards.# On for admin feature_some_flag = When should I use this? In a corresponding fashion, every secure application has a responsibility to minimize the amount of information stored by the web browser, just in case it leaks or leaves information behind, which can be used by an attacker to learn details about the application, the user, or to potentially become that user.įinally, in implementing persistent values, keep in mind that the use of hidden fields is insecure by nature.

Some web browsers may ignore the no caching directives in HTTP headers or handle them incorrectly.

Therefore, applications must include strong controls to prevent user ID tampering and abuse, particularly if they use a single context to run the entire application.Īlso, consider if the user's web browser may leak information. If it is possible for an attacker to publicly reveal user data at large, whether anonymously or as an authorized user, there will be an immediate loss of confidence and a substantial period of reputation loss. Users are rightfully wary of submitting private details to a system.
