A set of limiting conditions or measures to delimit the behavior of software.
Questions tagged [restrictions]
232 questions
1
vote
0 answers
Getting instances from the lowest level of restriction heirarchy and aggregating the results in SPARQL
I am in the process of writing a SPARQL to get results for restrictions written for an equivalent class. The restrictions are a multi level- meaning the final Union/Intersection requires the inner Union and Intersections to be solved…

Shruti Chandrika
- 63
- 6
1
vote
2 answers
Restrict access to private images
As a photographer, I have my own website with a portfolio and such. I also have a log-in system for users, where I give them access to their own private images (it displays all images placed inside a specific folder - I do this manually for each…

Charles
- 151
- 2
- 13
1
vote
1 answer
How make a query with Hibernate and applying Restrincions on a field that is an Object
This is the entity Utente; as you can see, there is a field autenticazione that is another entity, called Autenticazione
@Entity
@Table(name = "utente")
@Component
public class Utente implements Serializable{
...
@OneToOne(mappedBy =…

MDP
- 4,177
- 21
- 63
- 119
1
vote
0 answers
Akkoy solver - prolog
i'm new to prolog and I want to solve the puzzle Akkoy with restrictions.
So far, i've been able to implement wich cells can be painted but i don't know how to force the white areas to have all the same area.
For now when solving the problem, prolog…

Inês Caldas
- 11
- 1
1
vote
1 answer
projection property in subquery nhibernate criteria
Here's the deal, I got 2 tables:
table (A) with columns ( colA_1 | colA_2 | colA_ID )
table (B) with columns ( colB ) and I'm using DetachedCriteria.For() to query SQL.
The purpose is get an sql senerated like this:
Select…
table (B) with columns ( colB ) and I'm using DetachedCriteria.For

Pedro Tainha
- 497
- 2
- 6
- 14
1
vote
2 answers
Is there limit to access youtube's get_video_info from single IP
i am developing a online youtube video downloader in php . but i am afraid of blocking my Server Ip by youtube.
is there such restrictions by youtube ?
and if yes thenn how much requests i can do to youtube in single day ?

Pritam Narkhede
- 163
- 1
- 9
1
vote
0 answers
Modifying contents of location path in web.config
I have a small problem trying to modify my Web.config from code. All I'm trying to do is access my authorization rules and add a bunch, which will be later useful for any administrator of the page. However, I have no idea how to get past - the…

Michał Wroński
- 21
- 3
1
vote
1 answer
Couchbase Sync Function: How to detect the current access type?
I am using Couchbase's Sync Gateway and want to restrict the access to the documents. Furthermore, the individual restriction for each document should take into account what is currently happening: The document is just being read or it is either…

Bastian
- 4,638
- 6
- 36
- 55
1
vote
1 answer
Sitecore Publish restrictions dialog updates All versions for a language
I am running into an issue when opening the Change Publishing restrictions or Publish Settings dialog and Click OK to close the wizard. All my versions for the Item are Modified with the Current Date and Time. Thus, loosing all the version history…

user2386411
- 113
- 2
- 9
1
vote
0 answers
How to validate shipping address per product by city and restrict user?
I am using Magento 1.9. I want to create product and make available in only specific cities. And also I want to restrict users on checkout when they select product to ship in the city where the product is not available.
I am a beginner at Magento…

Ahsan Horani
- 239
- 2
- 13
1
vote
0 answers
Spring annotations static content - access restriction (controllers only)
I am using Spring annotations with boot.
Currently, i'm handling static content in the following way:
@RequestMapping("/{path:[^\\.]*}")
public String getResourceFile(@PathVariable("path") String path) {
return path + ".html";
}
That way, if one…

saw
- 165
- 1
- 11
1
vote
1 answer
Add restriction to a Knapsack algorithm in php
I need something like this: Algorithm to select Player with max points but with a given cost
I understand the concept of knapsack and I already made an algorithm that gives me the optimal solution using the 0/1 grid system. The problem is that i'm…

moft
- 11
- 2
1
vote
0 answers
What restrictions does Android put in place on activities viewed on top of a secure keyguard with FLAG_SHOW_WHEN_LOCKED?
I'm trying to create a new lock screen and I'm aware that if I use the FLAG_DISMISS_KEYGUARD for use with non-secured lock screens, I can present multiple functions and don't have any restrictions to intent access.
However, I've been having a very…

s-ventures
- 11
- 2
1
vote
0 answers
Is a CRON executed PHP script restricted in any way?
I have a CRON task set up and it is being called at the correct intervals. The PHP script it is calling will only execute commands written directly into that script, like mail();. But when I try and call another class (with require_once())like…

nino
- 11
- 4
1
vote
0 answers
How to get current restrictions from iOS
In iOS, I can set Restrictions on the device to block specific apps or actions (also known as Parental Control).
Is that a way to access the current permissions set in the device within my app? Like an API or something?
Particularly, I'm interested…

Luan Nico
- 5,376
- 2
- 30
- 60