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.

You can learn more about policy and programming paradigm here.

1065 questions
-2
votes
1 answer

Programmatical manipulation of Windows Local Security Policy

I am looking for a method to access and modify local group policy settings in a PC programatically. For example, if I want to check / modify a value for a setting "Computer Configuration\Windows Settings\Security Settings\Local Policies\Audit…
-2
votes
1 answer

Changing AD password - When is it applied

I need to change the password of a user who will be relieved from his job. So my question is, if I change the password on the AD and his computer goes to sleep will it require the new password when unlocking or is a reboot necessary ? It's an…
RazZ
  • 55
  • 1
  • 1
  • 6
-2
votes
1 answer

Adsense Pre-loading policy

i used Buzzy Script for my web site and buzzy script support Pre-loading page when a user goto to down of post it load new post in that page user can view 100 of post in one page and also load 100 adsense ads on one page…
-2
votes
2 answers

After iptables -P INPUT DROP in Ubuntu, how can I apply my additional rule?

In Ubuntu 16.04LTS, I typed the folllowing lines: iptables -F iptables -X iptables -A INPUT -m mac --mac-source 1C:**:2C:**:72:**:78 -j ACCEPT here is the result of iptables -L -nvx. I can't access my web server (port 80) with the machine that MAC…
Mike Min
  • 11
  • 4
-2
votes
3 answers

Why allow repetitive characters in a password is unsafe?

I checked several password policies that establish that 2 or more repetitive characters are not allowed in the password, example: "xxxxx5". But that policy doesn't make sense to me because the password space is reduced, (the xxxxx5 is an extreme…
Miguel A. Carrasco
  • 1,189
  • 1
  • 14
  • 26
-3
votes
1 answer

I am implementing admob rewarded ADS in my App but is it correct to lock one of the features on the main menu and unlock them on watching the video

I am implementing admob rewarded ads in my app but i am not sure if its correct according to the policy to lock on of the features of the app on the main menu and unlock them on watch the video ? is it ok to do so ? is it according to the policy
-3
votes
1 answer

How does java.policy file restrict safety from other users/code?

I'm new to java security policy, referring to [Java core programming] volume 2, there's sample of using policy file to specify permissions for file, etc. My question is: (1) When I develop my own application or applet, I can use this policy to…
Hind Forsum
  • 8,077
  • 8
  • 40
  • 88
-3
votes
2 answers

upload an new android app in Play Store to download another app

i want upload app to download other app in outside of play stor cuase the policy and privacy are not accepte this app for live channels like this
Djan Dino
  • 1
  • 1
-3
votes
1 answer

About privacy, does google play store allow my android app to look at and send the browser history of the user to save in my database

My app is kind of search engine for the user to search their personal browser history. And in installation, for permission, i also ask the user for: read your web history. this is the behavior: - The user minimizes my app. - Open browser, visit some…
Do Han
  • 11
  • 2
-3
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
  • 5,856
  • 4
  • 31
  • 60
-3
votes
1 answer

What is an inline script?

This is a bit of a simple question but I have looked around the internet and Stack Overflow and I can't find anyone to just state the answer directly. What is an inline script? Thanks.
sutsuo
  • 1
-4
votes
1 answer

How to implement Policy in WCF web service?

I want to create a web service that does the same as the given web service depending on the service description language only. I managed to create the same exact service, except for this part of the meta-data:
Nour
  • 4,530
  • 3
  • 35
  • 58
-5
votes
1 answer

Verify if email sender has permission to send to a certain address

I am forced to implement a sender policy in qmail. I have a file describing the policies: User1@domain1.com:*@domain1.com,x@Domain2.COM,y@DOMAIN.com user2@domain1.com:*@* USER3@domain1.com: This file describes the following…
-6
votes
1 answer

where can we host privacy policy and its link?

Can privacy policy just a paragraph ? Can we put our privacy policy text in facebook page and privide link to it in developer console?
-8
votes
2 answers

Block S3 access to IPs from Syria, Iran, Sudan etc

Do you know any bucket policy that would allow me to block access to S3 files from specific countries?
PanosJee
  • 3,820
  • 5
  • 33
  • 49
1 2 3
70
71