Questions tagged [restriction]

A restriction is anything that constrains or limits the code in some fashion.

Restriction is a very broad tag that denotes a requirement to restrict the code in some fashion.

706 questions
0
votes
1 answer

Using "../" causes open_basedir restriction error

When I try to include a file like this: include ("../folder/file.php"); I get an error: Warning: include(): open_basedir restriction in effect. File(../folder/file.php) is not within the allowed path(s) But when I try to include the same file…
ExChill
  • 3
  • 1
0
votes
2 answers

Restricting access when user changes the link directly Cakephp

I am really new in cakephp. I want to know how to restrict the user from opening pages such as Users for example when the user changes the url. Well, I am not good at telling my own problems so here: for example: the user id is 1 so when he viewed…
0
votes
2 answers

how to restrict a user to access website on single machine in asp.net

I have developed a e-com website in asp.net, it has a admin panel which is manage by site admin. As i have got the requirement from client, admin panel should be access only in his office system, can anybody help me on this, how can i restrict that…
Avinash Jha
  • 127
  • 6
0
votes
2 answers

JMX example password file restrictions

I downloaded the JMX example client/agent from the oracle site, and when I try to run it, according to this tutorial: http://docs.oracle.com/javase/tutorial/jmx/remote/custom.html, from a normal cmd, it says: Can't read password file And when I try…
Black Magic
  • 2,706
  • 5
  • 35
  • 58
0
votes
1 answer

How to allow allow more than one download at the same time

I'm developing an application that will send files to an user, but I need to send more than one at the same time and what is happening is that when he is downloading the first one, the page still loading until the first one has finished so then it…
Rodrigo Pereira
  • 1,834
  • 2
  • 17
  • 35
0
votes
1 answer

xsd restriction in extended element

Suppose I have an element A and an element B extended from A as shown below.
ganesshkumar
  • 1,317
  • 1
  • 16
  • 35
0
votes
1 answer

When to restrict a class from extending a class?

Is there any point in any programmer's lifetime to restrict a class to extending this class? Example is that I don't want Package to extend Box.
Mark Vizcarra
  • 1,165
  • 1
  • 11
  • 15
0
votes
2 answers

Jquery .find() - restrictions for where to find

I am using the .find() to find specifiek elements in a div. Now what the .find() does do, is finding every element in that div. I want it only to find it in the first dimension, this means it should not search in div shilds. Now i know there might…
nkmol
  • 8,025
  • 3
  • 30
  • 51
0
votes
1 answer

RegEx string validation in XML Schema

I have a little challenge creating a RegEx expression to use in an XML Schema as a restriction on a string element. The challenge is that the string (right now) can contain the following values: HASCALCULATOR, LISTUPDATENEEDED, READ ONLY and…
mema
  • 1
  • 1
0
votes
0 answers

App restricted by facebook

My application has been restricted by facebook : "The app can no longer upload or tag photos" This app upload otomaticaly picture when an AUTHENTICATE user want it! So there is no reason to block it as we have the total agreement of the user. Is…
gaymer
  • 442
  • 4
  • 9
  • 19
0
votes
1 answer

Magento cart regions restriction

my client would like his magento site cart to be restricted to some countries. There is a countries restriction in the System > Config > General panel, but it disablesthe whole website. I would like the site to be usable for everyone, only adding…
VaN
  • 2,180
  • 4
  • 19
  • 43
0
votes
1 answer

Tomcat server IP address restriction methods?

I knew that I can add a Valve in context.xml in tomcat server to allow or deny some IP address : Except above configuration, Are there any other…
Timmy Lo
  • 43
  • 10
0
votes
1 answer

Have Petaho has IP restriction setting for user console?

I want to restrict some IP address so that so IP cannot connect to Pentaho user console (PUC), Can I do that? If it can, how to set it or where is the setting file about IP Thank you very much!!!
Timmy Lo
  • 43
  • 10
0
votes
2 answers

Objective C - How to use inheritance to limit the types of classes entered into a method or array, and read those objects at a later time?

How can I limit the type of objects put in an array if the limited objects are all inherited from a superclass? So for instance, I have a parent class called parentObj I then have 3 child classes that have parameters that are added and not…
Michael King
  • 640
  • 1
  • 6
  • 18
0
votes
1 answer

XML Schema restrictions on the current date

Is it possible to have restricts of the XSD date and time data types for the current date? For example, if you want to set the maxInclusive of a date to the current date:
FredFloete
  • 627
  • 2
  • 13
  • 33