Questions tagged [policy]

Best practice and style are at the core of every program; there is always a better way to do something. Policy helps programmers determine how something should be written.

Policy is a more or less ambiguous way of describing the best way to do something in programming. This can often be described as "best practice" when writing a program. This can pertain to the way a method returns a value, the way inheritance is structured, and the way to exit a loop, among other things, and it can vary from language to language.

Many companies often have their own sets of internal documentation referred to as Coding Standards that enforce policies which they determine to be valuable for maintenance and readability purposes of their code base.

You can learn more about policy and programming paradigm here.

1311 questions
-1
votes
1 answer

Regex issue with setting up a password policy

I would like to set up a password policy using Regex. Please help me, if you can. Basically, I would like to be able to have the following password rules being checked against: Password should have at least 12 characters It should have at least 3…
keybald
  • 17
  • 4
-1
votes
1 answer

Terms of Policy and Privacy Policy for application release?

I want to release my application in play store and app store. But, That store require PrivacyPolicyUrI But I don't use signup system And most application has terms of policy in their signup view it is essential? So... PrivacyPolicy is required for…
JaeWang Lee
  • 199
  • 1
  • 11
-1
votes
1 answer

Certificate enrollment via webserver

We have a webserver that is based on Java and among other things it manages many users and creates & manages digital certificates (both private & public keys) for these. I am looking for a way to automatically request, download and install a…
throw into
  • 21
  • 1
  • 1
  • 8
-1
votes
1 answer

Java password policy validation

My problem is to create a policy password that contains: upper case alphabetic characters - done lower case alphabetic characters - done digits - done special charakters - done don't allow alphabetic/digits sequences e.g. qwerty, 12345, qazws,…
atezor
  • 3
  • 6
-1
votes
1 answer

How to set java security policy in tomcat of a web application giving platform to run codes of different languages

In my web application I am providing platform to run external codes which will be stored in a particular location say "C:\Users\test". I want to deny permission for System.getProperty("user.home") to read and write and not be able to make any http…
smondal345
  • 65
  • 1
  • 10
-1
votes
1 answer

Can openam define policy plugin to evaluate user's request payload

I'm new to openam and successfully finished sample in Getting Started section which protects an apache httpd service using openam including defining policy plugin that can evaluate user's userName and length of userName. My question is: can openam…
Xuanbei Lu
  • 41
  • 1
-1
votes
1 answer

Append with existing java policy

I have my custom policy file which I want to append to existing Java Policy programmatically but not from command prompt because there = for append and == to override. If I try System.setSecurityManager(new…
-1
votes
3 answers

Chrome won't loads policies

I'm trying to follow this procedure on Chrome's documentation: http://www.chromium.org/administrators/linux-quick-start Yet no policy is loaded by chrome. I tried to create the policies/managed and policies/recomended in /opt/google/chrome also but…
Nelson Teixeira
  • 6,297
  • 5
  • 36
  • 73
-1
votes
2 answers

Why do I need to get the JCE to be able to handle keys larger than 128 bit?

Why do I need to get the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files to be able to handle keys larger than 128 bit? Why is it not bundled with Java SE?
Simon Zettervall
  • 1,764
  • 1
  • 15
  • 31
-1
votes
1 answer

git prevent user access to master branch

In gitosis, I have DEV, STAGING, MASTER branches. How do I restrict users such only admin can check-in or merge to master & test branches. Developers can only check-in to DEV branch. Developers can checkout/pull from master but not check-in/push.
Salton
  • 199
  • 2
  • 9
-1
votes
1 answer

about RestKit 0.20.x caching policy

I'm unclear how to use the RESTKit 0.20.x API to set the request caching policy? 0.20.x not support caching policy? Thanks
-1
votes
1 answer

How to setup a policy for Amazon S3 bucket to be accessible only to an IAM user?

I have a bunch of files that I would like to put on S3 such that access to them is restricted only to a particular IAM user. I've tried associating a policy with the user, and with the bucket, and am trying to access a file in the bucket using…
mayur
  • 7
  • 4
-2
votes
1 answer

AWS S3 Allows reading of all objects except a specific bucket

How can I give all s3 bucket ( public & private ) with deny of some target bucket no access In essence, I want to grant access to all S3 buckets excluding a select number ( not want to give access for bucket 1 & sub folders ) in my bucket…
-2
votes
2 answers

How to add multiple policy using loop in terraform

I am trying to create multiple SNS topic subscription in the SQS. I do have the config file like below in json format "snsSubscriptionArns": [ "arn:aws:sns:::test1", "arn:aws:sns:::test2", …
thulasi39
  • 521
  • 2
  • 5
  • 19
-2
votes
1 answer

boto3: getting the list of access-levels in a policy

is there a way in boto3 to get the access level of a service in a policy (Full access, List, Tagging, Read, Write)? The allowed actions are too much, I just need the access levels. For example I have the "IAMUserChangePassword"-Policy. The allowed…