Questions tagged [restrictions]

A set of limiting conditions or measures to delimit the behavior of software.

232 questions
2
votes
1 answer

Are there limitations when using unsafe code in .NET?

I see the allow unsafe code option in .NET. Only one of my apps have it set so i can copy an image to a bitmap quickly. Will there be limitations now that i checked off that box? mono seems to run it fine on linux. I dont see any problems so far.
user34537
2
votes
1 answer

Adjusting PDF restrictions with PHP

I have a user uploading a PDF to my server, is it possible to adjust the PDF restrictions via PHP to not allow printing, copying, etc? Many thanks.
James Doc
  • 159
  • 8
2
votes
0 answers

android implement app work on battery restriction mode

The quesion is that is it possible to implement my app works on battery restriction mode. If user enable the mode in my settings i don`t use wake lock anymore and more draining battery works.I have read this article.
nAkhmedov
  • 3,522
  • 4
  • 37
  • 72
2
votes
2 answers

Reasoner does not check cardinalities and/or restrictions?

I tried to create the perhaps simplest ontology, consisting of two classes (A, B) and a relation (R) between the two classes. I also want to state that every individual of A must have a relation R with some other individual. :R rdf:type…
fferri
  • 18,285
  • 5
  • 46
  • 95
2
votes
0 answers

Restricted least squares in R

I have got to estimate a model using R of the form: y=a1*X1+a2*X2+a3*X3 I need to impose the following restrictions: a1, a2, a3>0 and a1+a2+a3=1 I already have the inputs in a matrix called X(ncol=3) Can anyone inform me about which code to use?
2
votes
1 answer

Cardinality restrictions on SPARQL

My question is about SPARQL query language of RDF triples, suppose we have a family ontology written in RDF/XML format. Now, I want to query all parents, for example, with at least two children (cardinality on hasChild relation) with SPARQL. My…
frogatto
  • 28,539
  • 11
  • 83
  • 129
2
votes
0 answers

nginx and php5-fpm open_basedir restriction in effect am I under attack?

I'm running an application on a VPS under Ubuntu 13.10 nginx and php5-fpm, The webserver has been set up very carefully following the best security practices. The app was written and tested to avoid any kind of injection, users input data is…
Adriano Rosa
  • 8,303
  • 1
  • 25
  • 25
2
votes
1 answer

C# .NET application fails to be started when user has restricted access to machine config

I am facing the following problem: I have a C# .NET v4 application. It runs fine on most machines, but I am experiencing a weird behaviour: On a machine with restricted access my .NET application won't run. I do not require admin permission to…
oskar1983
  • 301
  • 1
  • 2
  • 9
2
votes
0 answers

iOS app behavior based on device's age setting?

Is it possible to modify an iOS app's behavior based on the device's General > Restrictions > Apps setting? That is: Suppose the device is set to 4+. (And suppose my app is rated 4+ so that it still shows up.) Can my app run, but withhold certain…
2
votes
1 answer

Magento Developer Client Restrictions

Whan I attempt to use Developer Client Restrictions, should I use my LAN IP address or my public IP address? I am accessing the site remotely. I assume it\’s the public IP, but I just want to be sure.
2
votes
1 answer

Open sites using UIWebview ONLY is safari access is allowed..how to check

I have searched the web and all my books and references but I'm not finding what I am looking for. Because of the type of app built I need to restrict access to the UIWebView "stuff" if the user has Safari restricted. Is there a way to check is…
holster
  • 47
  • 7
2
votes
2 answers

Use of app has been restricted

I have created an App, which works fine for me (presumably because I am the developer), but when anyone else tries to load it, they get this error - Use of app "UK News from Dyne Drewett" has been restricted I have looked in the Help Centre at…
David Gard
  • 11,225
  • 36
  • 115
  • 227
2
votes
1 answer

How to find the most frequent word in a word stream?

Possible Duplicate: Finding the max repeated element in an array If there is a word stream, with one word having an occurrence rate of 51% or more, how can we find the most frequent word if only string, and an int can be stored in the memory at a…
GG GG
  • 23
  • 1
  • 3
2
votes
1 answer

Hibernate: Criterion. is it possible to build a Restrion List and then later add it to a Critera object

I have a dynamic search with 25 optional parameters. HQl is not an option. I am using the Criterion API. I have DAO methods that I would like to accept a 'Restriction' List that I can build in my service layer such that, when I call my DAO…
JJRutter
  • 85
  • 3
  • 14
2
votes
1 answer

IIS: Add Feature

I need to edit IP rules using the IP Address and Domain Restrictions feature in IIS 7.0, but on my Windows 7 machine this feature is not present in my IIS. Does anybody know how to go about adding this feature to IIS? I can't find a download…
valen
  • 807
  • 1
  • 16
  • 43