Do not use! This tag has multiple meanings depending context. If you are looking for the restrict keyword in C-like languages use [restrict-qualifier] instead.
Questions tagged [restrict]
353 questions
0
votes
1 answer
Git and sharing /bin with select users
Sort of new to Git, but I'm thinking of moving over from SVN. I know that Git does not allow you to block off a single directory from users, so it's all or nothing in terms of access, but a frequent scenario I have is that I want to use source…

AlexB
- 687
- 2
- 7
- 15
0
votes
1 answer
WCF: how to restrict using some protocols?
WCF (winodws service hosting) service uses set of protocols and bindings: http, https, net.tcp, net.pipe.
It uses config file settings.
I want to build demo version of the service.
This demo will use only net.pipe protocol.
How I can restrict…

ZedZip
- 5,794
- 15
- 66
- 119
0
votes
1 answer
ssas restricting access
I have a SSAS cube where some users only should be able to see some of the values. It is based on a dimension Country. How do I setup restrictions so that this filtering on countries is always done, even if I done use that dimension. For the moment…

Peter
- 23
- 4
0
votes
1 answer
Application-wide key-filter in C#
I want my Win-Forms application (which has many different forms) to accept only certain characters of user input. This restriction should apply to all forms, all input fields, etc. Is there any simple solution to implement this without adding…

user1225775
- 253
- 5
- 14
0
votes
1 answer
Customize Wordpress Plugins: restrict role use of plugin
I have two plugins that I want only Editors or Admins to be able to use (they push-publish to FB and Twitter and I don't want any user to be able to do that). So, I'm looking for how to edit each plugin to add permission restrictions.
Both plugins…

Jon Fergus
- 171
- 1
- 9
0
votes
1 answer
How to restrict user from deleting words with special characters from textbox
I am working in email CMS using ckeditor.net.
At runtime user can change the body of email, I want to restrict user deleting all special words starting with @@ .
Here is example-
Email Alert! :
**@@Comments**
Please do…
**@@Comments**
Please do…

skhurams
- 2,133
- 7
- 45
- 82
0
votes
2 answers
Lighttpd restrict access to directory but not subdirectory
I've managed to set up my lighttpd server so that it makes mywebsite.com/files password protected. But I don't want the subdirectories of files to be password protected at all. I've changed the lighttpd.conf file to make the /files directory…

Awoken
- 79
- 6
0
votes
1 answer
Restrict Which Node a Jenkins Job can be Run On, but only allow this field to be modified by Administrator
I know that you can restrict where a project is run, by filling in that field in in a Job. I was hoping to find a way to allow individual users who have configuration access to the job to still be able to edit the rest of the job, but to remove this…

user1017457
- 11
- 2
0
votes
1 answer
How to restrict certain files from being open directly from the url / how to secure 'include' files
I have various files which are included in one php page by the line: include'blahblah.php';
I am unable to figure out how to block direct access to these files from the address bar!
for example:
Anyone after looking at my source code can try to open…

Arihant
- 3,847
- 16
- 55
- 86
0
votes
3 answers
Restrict number of selections and insert selected data into an array
I have 15 list items. I allow user to pick only 5 out of them. Then I put this info into the array and submit to the server.
Item One ... etc.
Then I use this code to toggle class of selected…

jonny pixel
- 259
- 6
- 13
0
votes
1 answer
mySQL Restrict Cascade No Action settings
What is the best constraint to use on a forum table where users leave comments?
Assuming some users will be deleted at a later stage. if i delete a user who has commented, what happens to the users entry in the table?
Hope someone can explain.

JamesBondInBlack
- 87
- 1
- 9
-1
votes
1 answer
Hiding/restricting parts of the source code in a git repository for team members and freelancers
I have looked at many related/similar questions, but could not find any sufficient answer to my question.
I have a Gatsby/React project, for which I have one private git repository which is hosted on github. I want to be able to let freelancers work…

Ruben Lemiengre
- 104
- 8
-1
votes
1 answer
Creating an Integer range for input into int variable
So i have a project where i need to store 8 integers, between 1-10, and recall them into a histogram
The histogram is made up of the character * only. (forgive bad formatting, this is my first post)
The program works, but i think my if statements…

ChristAHFER
- 5
- 4
-1
votes
2 answers
Restrict page if Auth::user()->id != user_id using middleware
i use middleware to restrict the admin page from non-admins, and i can restrict pages with a list of "patients" from other users by using a policy, but if i use a policy. I have to repeat the code can() method in every function. If i use middleware…

Jeffrey van der Kruit
- 57
- 1
- 6
-1
votes
1 answer
Restrict who can see my profile in facebook
First i want to start that i even don't want to bother anybody but i just don't know what to do. I was looking for help in alot of places, and i found almost nothing. I just don't know what to do any more so i am asking here some help and any…

Стефан Станчев
- 3
- 1