Most voted "access-control" questions
30 questions
Sort by count of
-
9
votes1
answer167
viewsIs it wrong to use stab wounds in the Laravel view to present elements to the master user?
I wonder if it is problematic to do this kind of validation in the views of Laravel. Example: Only a master user can delete certain record, so I present the delete button only if the user is master…
laravel laravel-5 view permissions access-controlasked 7 years, 11 months ago Felipe Paetzold 4,527 -
7
votes2
answers521
viewsHow to serve files with access control in Django?
When studying Django, the typical way to handle uploading files was to create a folder media on the server - establishing a MEDIA_ROOT and a MEDIA_URL in the settings.py - where any uploaded file…
-
6
votes1
answer387
viewsSpring MVC and turnstile integration
I’m developing a system for my university’s college restaurant with Spring MVC. I need to connect the system to a Topdata brand turnstile, which controls customer access to the restaurant. Since I…
-
4
votes2
answers95
viewsWhat is the best way to define access to the methods of a class I want to use for unit testing?
I have a class Runnable, that does a lot of things in my system. When I created it, I didn’t want to instantiate its methods out of her scope. That’s why I wrote the methods like protected. Now, I’m…
-
3
votes1
answer61
viewsAndroid restriction - 3g
I want to restrict 3G access to a single domain (that of my system) to save employees 3G access. But if the employee access via WIFI can be all released (because there will be no extra cost).…
-
3
votes1
answer778
viewsImplement Filter Access Control - JSP
You can help me implement a java filter access control? This was the implementation I tried to do so far, but I couldn’t make it work. public void doFilter(ServletRequest request, ServletResponse…
-
2
votes1
answer226
viewsAccess to location in windows 10 (universal app)
I was trying to convert an old project of mine made for Windows phone 8.1 to a universal application for Windows 10, when I came across this error below. The question is, how do I fix it? , how do I…
-
2
votes1
answer108
viewsConvert tuples from different databases into a particular Java object
Well folks, I don’t know if the title of my question is quite correct, if not, someone please edit. I’ll explain my problem. I developed a tool that checks conflicts between access control policies…
-
2
votes1
answer118
viewsAccess level and hierarchy when checking checkboxes
Speak up, all right? Can you help me with something? I’ll explain: I enter the admin user and it shows all system permissions. As an example, suppose you have 10 (index, show, create, update, delete…
-
2
votes1
answer137
viewsProblems with improper access to urls in the application with Spring Security
I have a page, which uses Thymeleaf to update a user’s profile and on this page there are two buttons that allow you to update the profile and the other button allows you to remove the profile of…
-
2
votes0
answers280
viewsblock second tab of the same user session with JSF
I have a problem. How do I not allow two tabs to access the same session, using JSF. I have a web system where every user has their profile. And the profile is used to generate custom forms. After…
-
1
votes1
answer69
viewsDeploying Sign single on using AD
Is it possible to implement single singn on using AD? How will my legacy applications communicate with AD? Will it have a WS?
-
1
votes1
answer119
views"EACCES" error when using Cordova on OS X
Suddenly, while activating the command "Cordova run android", I get the following log MBP-de-Rodolfo:cordova rop$ cordova run android…
-
1
votes1
answer651
viewsScript for Telnet
How to create a script with previously established commands for Telnet? In the company where I work, we use Telnet daily to configure Onus, however, because we do not have a programming team, it is…
-
1
votes1
answer162
viewsHow to direct each user to their page corresponding to their access profile using Asp.net Identity with roles
I have 3 profile registered in the SQL Server database, they are Master, Admin and User , when log in as you would for each user to be directed to your permission view. by default the route ta…
-
1
votes0
answers77
viewsDoubt about access control
I’m looking to make an application Android which achieves CRUD in a database MYSQL. I’ve researched that the way to do this is by using a Webservice. I’m new in this area but I’ve done a simple via…
-
1
votes0
answers176
viewsProblems to unzip files in RAR on Linux UBUNTU
good afternoon! I have a server that runs on a Cloud Web server LINUX UBUNTU SERVER, 7 years ago, I migrated to another local server also with LINUX UBUNTU SERVER. In Cloud Linux APACHE with PHP AND…
-
1
votes1
answer445
viewsACCESS LEVELS - PHP + SQL SERVER
I have a table in my DB with the following columns : User , Password , Level and I need to make each level related to the person be redirected to different pages . How can I accomplish that ? Follow…
-
0
votes1
answer177
viewsVB.NET - Public Shared Function
I have a function in a VB.NET system that I use to execute queries in BD. The function is Public Shared type for simplicity. And there is doubt whether competing accesses to the function could…
-
0
votes1
answer541
viewssend rfid data to Mysql
How do I make sure that when the tag goes through the rfid reader the following information is sent to the mysql database: "Salvador", "Bahia" ?
-
0
votes0
answers33
viewshow to solve php session problems
Work in a company, that makes use of web applications (php) the page was well developed, but there are small details that could improve processes, I’m not developer yet! But I’m studying to become.…
-
0
votes1
answer58
viewsHow to hide parts of a page based on user permissions using Asp.net Identity?
I have a project in mvc and I am using the Asp.net Identity, I have different types of profiles, example Adm / tutoring / master / user and I have access areas for each profile, in addition to the…
-
0
votes1
answer85
viewsLevels of login access
How can I make it only show to the user who is with $cargo == 'Administrador'? I saw many being used with number, but I want to leave registered with name Administrator or Visitor and so in the…
-
0
votes2
answers98
viewsAccess Restriction with Classic ASP
I am placing a restriction of access clause. I created a table with people who can access, my intention is that those who can access are directed to the page and those who cannot be directed to…
-
0
votes1
answer342
viewsHow to identify if the access is internal or external?
I have an application in Asp.mvc that has 3 (three) types of access, 2 internal and 1 external. Internal access is done by LDAP and external access by a user table. No entanto o usuário externo…
javascript c# asp.net-mvc-5 ip access-controlasked 6 years, 7 months ago Danielle Arruda torres 1,191 -
0
votes1
answer92
viewsHow exactly does "private" and "protected" work in Ruby?
I’m studying Ruby and arrived at the access control part. I had studied before access control in Java, then I thought it would be the same, but to my surprise, the statement private and protected…
-
0
votes0
answers66
viewsSession does not open when logging in
I’m changing an old admin project, I was able to switch passwords from sha1 to password_hash, but the session no longer opens when logging in. What could be happening? I have searched and found no…
-
-1
votes1
answer80
viewsError while trying to compress folders from a drive - Unauthorizedaccessexception
I need to compress all of my E folders: But when I try with this code, I get this access exception. I’m new to programming and I’m trying to learn how to do things right. I am using dotnetzip to…
-
-2
votes1
answer31
viewsHow to treat the cable according to the level of access?
I have a login system and I have the access level variable and some information is restricted to certain employees. I wanted to know how to do according to this level appear only certain fields .…
-
-3
votes0
answers34
viewsHOW TO CREATE A WEBSITE OR FORUM THAT HAS ACCESS TO USERS' REGISTRATION DATA
I wanted to know if there is a site/ forum that ADM can access the data of who register (basically the login and password they used to create, only) and that is easy to handle (I am Noob in…