Most voted "authentication" questions
Authentication is the process of determining whether someone or something is, in fact, who or what is declared. The tag can be used for any situation where authentication is used in software via programming or in the development of authentication methods. That’s different from authorization.
Learn more…199 questions
Sort by count of
-
3
votes2
answers4145
viewsScript not authenticated
Time and again I come across an icon in the browser bar, stating that the page is trying to load scripts from an authenticated source. Why does this happen?
-
3
votes3
answers1281
viewsHow can I restrict downloading files through PHP authentication?
I have a system where the user can upload audios. The user level that can do this is the client. But on the other hand, I have the people who can download these files to do the audio transcription.…
-
3
votes1
answer973
viewsError to leave application authenticated by Windows
I’m trying to leave an application authenticated by Windows. But when I change the settings on IIS with anonymous authentication disabled as per the image below: I have the following mistake:…
-
3
votes3
answers310
viewsAdd variables to Auth 4.2
I have my Auth session, which returns user data: print_r(Auth::user()); In this section, I want to add the company data associated with the user. In my model User, added the following: public…
-
3
votes1
answer501
views-[Lifestyle Mismatch] Applicationsigninmanager (Web Request) depends on Iauthenticationmanager (Transient)
I’m getting an error on startup simpleinjector which I cannot solve at all. The error appears when it tries to run the line: container.Verify(); Follows error: -[Lifestyle Mismatch]…
-
3
votes2
answers446
viewsRestrict access to only one page in the application, leaving the rest free
I would like to restrict access by requesting login to only one page in my application. In webconfig I put so, but obviously this way requires authentication on all pages of the application.…
-
2
votes1
answer6871
viewsAuthentication and User Permission with MVC
I’m developing an MVC 3 application, using C# for Models and Controllers and Razor with HTML for Views. I want to implement authentication and user permission to the system. How can I do this using…
-
2
votes1
answer241
viewsHow to Redirect after STS authentication?
My application authenticates users through STS. Authentication can go to STS and validate the user PIN on the card. But how do I have it redirected to the "home" page of my site after…
-
2
votes1
answer798
viewsCakephp Auth Component Does Not Work Properly
I am making a user registration screen. When the user completes the registration, it is redirected to a restricted area. On this same screen, there is a login and password field for them to log in.…
-
2
votes1
answer475
viewsASP.NET Identity customize on its own basis
I already have my base ready with the login table, and I didn’t want to change it, so I wonder if it has how to customize it with the tables I already have! and how to do this! Below the mapping of…
-
2
votes1
answer256
viewsGet Organization/Departament and Organization/Title with Userprincipal - AD and C#
I am using the reference System.DirectoryServices.Accountmanagement and I have the code below: string dnsAD = "USINA.REDE"; string groupName = "Grupo Controle Acesso Gestao de Ativos"; //seta o…
-
2
votes1
answer334
viewsHow to create code to license monthly my customers?
I need to make a code for license to use, for example: My customers pay monthly for use of our system, but these customers have the application installed locally in their companies. I need it…
-
2
votes2
answers1218
viewsIntegration with Wordpress authentication
Taking into account a site based on Wordpress and a management system that runs in the same domain, but with totally independent authentication features, I think to integrate the authentication of…
-
2
votes1
answer189
viewsASP NET MVC authentication
What better way to separate permissions for logged in users? Would it be using annotations and roles? Because I want to release certain pages and certain functions depending on the permission of the…
-
2
votes1
answer173
viewsAsp Net MVC Authentication Extending Authorizeattribute
I am doing authentication extending Authorizeattribute, I have two doubts, in my DDD application, I will create this class in DAL? And how I leave this global class to use on all controllers?
-
2
votes1
answer987
viewsHow to redirect to auth/login in Laravel 5.1 if visitor is not logged in?
I am using Laravel 5.1 native authentication but when accessing a protected route the system does not redirect me to the login screen, instead it shows me the message "You don’t have permission to…
-
2
votes1
answer330
viewsDoes not redirect to Login Page
To authenticate in my system I am using the attribute [Authorize] I put this code down on Web.Config for when the Code 401 which is related to not authenticating it redirects itself to my login…
-
2
votes1
answer1270
viewsPrevent user from being logged in twice
In my project, I have a login module that works perfectly. Until then quiet, but the way it is I can not bar the same user logged in twice. That is, I can log in with the same user twice, and that’s…
-
2
votes1
answer277
viewsAngularjs website accessing API, authentication doubt
I have an API written in PHP+Slim, which is being used by an administrative panel, and the authentication is via token, which is returned when the panel user logs in. However, I am making a site…
-
2
votes1
answer166
viewsHide CRUD buttons in Django templates for users who are not logged in to the system
I would like to hide my system buttons that allow: add, edit and delete data from my templates for users who are not logged in to the system. He can be seen here:…
-
2
votes1
answer87
viewsAuthentication in different databases
Hello, I am developing a web service (in java) of integration in different databases and I ended up falling into a problem in which I am not finding a solution. Queries are entered manually and will…
-
2
votes1
answer347
viewsAuthentication via social networks
I am implementing authentication via Facebook and Twitter, and later other networks, but some doubts arose. What would be the logic for creating a new account when the user authenticates via social…
-
2
votes0
answers215
viewsIs there any specification for authentication on Websocket servers?
I was wondering what an authentication process would look like on a Websocket server. I intend to use the Javascript API for Websocket. But I would like to have a more restricted and controlled…
-
2
votes0
answers54
viewsError trying to disconnect using social-auth-app-Django
Good afternoon, everyone, I am building an application in Django, where it is necessary for the user to authenticate through his Microsoft account, for this, I am using the library…
-
2
votes1
answer378
viewsHow to redirect user to a specific page after login
I am able to login by type of user: administrator or common. And I am using: [Authorize(Roles = "Administrator")] and [Authorize(Roles = "Common")] Inside the controllers I want to restrict by type…
c# asp.net-mvc login authentication forms-authenticationasked 6 years, 3 months ago Rodrigo Santos 159 -
2
votes1
answer721
viewsQuestions about Authentication Token (JWT)
For a while I used the Json Web Token (JWT) to do the entire authentication process of most systems on which I work on Node.js. But today, developing one of my personal projects, I took a look at…
-
2
votes0
answers111
viewsLaravel and JWT - Does not generate token (invalid credentials)
I’m having a problem using the following code: $credentials = $request->only('email', 'senha'); try { if(! $token = JWTAuth::attempt($credentials)){ return response()->json(['error' =>…
-
1
votes2
answers1148
viewsHow to change the return url when directing to the login page?
How can I change the value of ReturnUrl passed to the login page when the user is on a specific page and the session expires? For example, if the user is on the page www.meusite.com/seguranca.aspx…
-
1
votes4
answers574
viewsIs it okay to store the password in a public class variable?
I am making a small login system in PHP using the new functions of password_hash and password_verify. Is it good practice to store the password in a public class variable? If not, it is recommended…
-
1
votes1
answer80
viewsHow to make STS request User PIN after Logout
I’m having trouble executing a logout of the application using STS. After clicking the Logout button, I Expose all the cookies I have, until I give the signout command of Federationauthentication,…
-
1
votes1
answer73
viewsAction Does Not Perform
I am using STS authentication, and given certain configuration in web.config I can’t get my (Sign In) action to perform what it should. to elute follows code: [AllowAnonymous] public class…
-
1
votes1
answer87
viewsHow to use authentication in Sinatra?
What would be the best way to authenticate in applications built with Ruby/Sinatra? Devise I know doesn’t work. I have tried several tutorials with Warden, but the settings are very complex and…
-
1
votes1
answer87
viewsMemcached + Tomcat authentication
I’m testing the Memcached to implement failover on my Tomcat servers. Is there any way to implement user/password security? Memcached will be on a public IP, so I find it unsafe that he’ll be…
-
1
votes2
answers1757
viewsRestful Web Service Authentication with PHP
Hello I am developing a Restful api, but I wonder if it is safe to authenticate users by passing the token in the url? And if there is any other safer method.
-
1
votes0
answers267
viewsAutomatically log into the application using Windows Authentication
I need to automatically log in my ASP.NET application using Windows credentials (Active Directory), exactly the same as the Sharepoint ago. In Visual Studio already has a template (Framework 4.5)…
-
1
votes0
answers127
viewsWebapi . net40 basic authentication
I need to create a basic authentication in an Asp.net webapi project, but it has to be on . Net Framework 4.0, but all the content I find on the internet is for 4.5 Some north?
-
1
votes2
answers1346
viewsHow to login to WEB project Asp. Net MVC No Authentication?
Well, I created a WEB project and at first I figured I wouldn’t need to add the login system, so I used the template No Authentication (so far so good...). The problem is that now I would like to…
-
1
votes1
answer77
viewsHow to get user type in view?
I have an Asp.Net MVC project that uses Individual User Account with Owin. Everything is working perfectly, but I would like to get user type (role) in View. I’m using Request.IsAuthenticated to…
asp.net-mvc razor authentication asp.net-identity owinasked 9 years, 7 months ago Jedaias Rodrigues 6,718 -
1
votes1
answer275
viewsHow to maintain a Session after re-running an application?
In my MVC 5 project, a session with the user data is created in the login and after the re-execution of the application the Session no longer exists, however, the authentication Coockie still…
-
1
votes1
answer817
viewsCatch AD user Asp net mvc
Guys I have a question: how do I get the user logged into windows on the client machine? It’s getting the server user and not the client machine. Could you help me?
-
1
votes0
answers46
viewsUse two User classes in Identity
How to use 2 classes as User in Identity. Ex. The site will have an administration area, and will use the default "Applicationuser" class that generates an "Aspnetusers" table from Identity to log…
-
1
votes0
answers569
viewsSelenium/Junit - Authentication screen not saved/executed
I’m doing a POC for using Selenium + Junit 4 for functional interface testing in a web tool. The tool in question requires authentication when opening the URL, and the test was saved to the Selenium…
-
1
votes1
answer258
viewsWhat techniques can be used to authenticate in REST applications?
I’m developing an application Restful in PHP, I need to do an authentication mechanic on that system, so client applications can consume your data. What techniques can be used to authenticate…
-
1
votes0
answers1311
viewsOpen web page after connecting to Wifi (mobile)
There is a way to force mobile device to open a web page after connecting to WiFi? It’s not exactly a HotSpot (authentication via Landing page). Example: after connecting to an X (public) network…
-
1
votes0
answers367
viewsRedirect if not logged in to Auth Cakephp
I’m having a little doubt. I set the beforeFilter correctly to allow access to the appropriate actions. My question is this. When I try to access a certain action in a given controller, the…
-
1
votes0
answers48
viewsHow to create server certificate in SQL Server?
I’m creating an app that uses SQL Server as a DB manager. My problem is in making a secure connection between the DB and the application, so I need to create a server certificate within the SQL to…
-
1
votes0
answers166
viewsSpring Security and Shiro -> How to authenticate a user in Security and pass a token to Shiro
I have two web apps: the first web application is using Spring MVC and Security and makes user authentication in the database. And works very well, thank you. The second web-app are using Shiro for…
-
1
votes0
answers685
viewsWebservice Delphi XE5 Authentication
I used WSDL importer to import the WSDL of webservice, but I am having difficulties in authenticating the query, when importing informed user and password, for the WSDL importer, and also tried to…
-
1
votes0
answers117
viewsBad Request when logging in with Passport, Express and Nodejs
I am trying to authenticate a system but whenever I try to login (post) I get an error: 400 (bad request). On the console appears the message: The Character encoding of the Plain text Document was…
-
1
votes0
answers174
viewsflow to login with web api with AD users returning token per profile
We are setting up an Api for our internal systems, we enter a paradigm in the best way to create a login of users validated by AD returning token with profile being the Profile the group that the…