Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
unauthorized
- Page 1
Re: Web Services using ASP.NET
Programming
Web Development
6 Days Ago
by natashasturrock
… success response if a matching user is found, or an
unauthorized
message if not. I recommend hashing passwords with SHA-256…
Re: Securing Customer Data: An Essential Cybersecurity Handbook
Hardware and Software
Information Security
2 Weeks Ago
by WilliamOG
Basically: patch your stuff, lock your doors, and stop clicking shady emails. Got it.
Why am I getting a 401 Unauthorized error when calling the Management API?
Programming
Web Development
1 Month Ago
by Marcus_8
Hi everyone, I'm getting a 401
Unauthorized
error when trying to call the Management API from my …
Re: Why am I getting a 401 Unauthorized error when calling the Management API?
Programming
Web Development
1 Month Ago
by Dani
Oh, it looks as if you're referring to auth0, as I see you've also posted [over there](https://community.auth0.com/t/why-am-i-getting-a-401-
unauthorized
-error-when-calling-the-management-api/185378). It says you've attached a diagram of the request flow but I'm not seeing it.
Re: Why am I getting a 401 Unauthorized error when calling the Management API?
Programming
Web Development
1 Month Ago
by Dani
What management API?
Re: Why am I getting a 401 Unauthorized error when calling the Management API?
Programming
Web Development
1 Month Ago
by Marcus_8
Yes, I did, but due to some Auth0 guideline, I can't share the link there.
Re: Why am I getting a 401 Unauthorized error when calling the Management API?
Programming
Web Development
1 Month Ago
by Dani
OK, I'm a little confused. You're an SEO guy who linked to a blog article about 401 errors on an SEO firm's website. The link to that article was snipped from your post for being self-promotional in nature. (I assumed you were just trying to get the backlink.) However, you're saying the 401 error is from using the Auth0 API. Can you post your code …
Re: Why am I getting a 401 Unauthorized error when calling the Management API?
Programming
Web Development
1 Month Ago
by Dani
> I feel like the solution might be in that blog It's not. The blog article whose link was snipped has nothing to do with API authorization errors.
Re: Securing Customer Data: An Essential Cybersecurity Handbook
Hardware and Software
Information Security
1 Month Ago
by graceweb
Hey Bam_391, Thanks for putting this together, really thorough breakdown. I think your point about regular employee training is especially important. Even with the best technical safeguards, a single phishing click can cause major issues. Curious if you have any thoughts on balancing strict access controls with usability, especially in smaller …
Can't read all the directories, interrupted by unauthorized exception
Programming
Software Development
16 Years Ago
by potatskie
… loop stops reading the remaining directories if it encounters an
Unauthorized
exception. what i want to happen, is for the code… read from directory A to G and stops because of
Unauthorized
exception. What i want is read all the directories and…
curl returns Unauthorized Error 401
Programming
Web Development
12 Years Ago
by ganesh641
… server it returns the response **"HTTP/1.1 401
Unauthorized
"**. provied some solution here is my curl function code… **200 Ok** in my local environment but its return **401
Unauthorized
** in my client environment.
401: Unauthorized Error on Accessing Remote Web Service
Programming
Web Development
16 Years Ago
by chnswam
… with exception "The request failed with HTTP exception 401:
Unauthorized
". I was previously getting this error, which I had…
System.Net.WebException: The request failed with HTTP status 401: Unauthorized
Programming
Software Development
16 Years Ago
by franceee
… error message WebException: The request failed with HTTP status 401:
Unauthorized
.] System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response…
Re: System.Net.WebException: The request failed with HTTP status 401: Unauthorized
Programming
Software Development
16 Years Ago
by gondaliya
HTTP status 401:
Unauthorized
means you are trying to get the response or trying to fetch the URL which is password protected or Web User does not have the enough permission to read the web page. Try to browse the URL that you are using in the code.
The request failed with HTTP status 401: Unauthorized.
Programming
Web Development
15 Years Ago
by moganrajn
… error msg "The request failed with HTTP status 401:
Unauthorized
." Help me to find solution
cfcache could not retrieve the page content. HTTP status code '401 Unauthorized
Programming
Web Development
15 Years Ago
by paragr
Hi, I am getting one error continuously and recorded in my application log cfcache could not retrieve the page content. HTTP status code '401
Unauthorized
' That is the description of error I searched on the net for solution/help but could not find anything useful. Thanks in advance for any suggestions and help
Re: cfcache could not retrieve the page content. HTTP status code '401 Unauthorized
Programming
Web Development
15 Years Ago
by samaru
… (4xx HTTP), so your request is failing due to an
unauthorized
HTTP request. As mentioned, CFCACHing on the client side would…
I get HTTP Error 401.2 - Unauthorized You are not authorized to view this
Hardware and Software
Microsoft Windows
12 Years Ago
by menukadevinda
….since then I got following error. HTTP Error 401.2 -
Unauthorized
You are not authorized to view this page due to…
HTTP/1.1 401 Unauthorized
Programming
Web Development
12 Years Ago
by ganesh641
I am using curl function to login my web site using the Gmail username and password. Its working fine in my local environment but once i moving that file into my client server it returns the response "HTTP/1.1 401
Unauthorized
". provied some solution Thanks in advance, Ganeshkumar
Unauthorized Sessions
Programming
Web Development
13 Years Ago
by Sparhauoc
Greetings all, I am working on a website with data I only want logged in users to see. I currently have it where once they have logged in successfully, they can browse the website, and if they are not, they are directed to the login page. Sounds great. However, if they attempt to view a private page a second time, they apparently have a …
Re: Unauthorized Sessions
Programming
Web Development
13 Years Ago
by broj1
You should set $_SESSION['loggedin']='1' only after the successful login not in the beginning of the script.
Re: Unauthorized Sessions
Programming
Web Development
13 Years Ago
by Sparhauoc
ok, do I enter that in my login page or the other pages? and can someone point me to an example, i'm kind of a newbie. Just started learning php last week.
Re: Unauthorized Sessions
Programming
Web Development
13 Years Ago
by broj1
Change your login page to something like: [CODE]<?php // start a session (always first thing in a script) session_start(); // initialize session variable with value for not valid login $_SESSION['loggedin']='0' // check for form submission (user clicked on submit button) if($_POST['submit']) { // check if username and password are OK (…
Re: Unauthorized Sessions
Programming
Web Development
13 Years Ago
by Sparhauoc
Ah, I'm starting to understand I think. I need to make a default session value different from a logged in session value. Unfortunately, I'm having some trouble with your code, getting some errors, but I will keep working on it. But thanks for the info, now I at least know why this is happening. If you (or anyone else) have something that will …
Re: Unauthorized Sessions
Programming
Web Development
13 Years Ago
by Sparhauoc
Ok, I'm so close I think. People can't get get a session without logging in. Unfortunately, now people who do log in are still getting a value of '0' instead of '1'. I think my problem now is that it sees the 'submit' in the php code as an undefined index. "NOTICE:Undefined index:submit on line 4". Here is the code as I have it now (…
Re: Unauthorized Sessions
Programming
Web Development
13 Years Ago
by broj1
Change line 4 to [CODE]if(isset($_POST['Submit']) and !empty($_POST['Submit']))[/CODE]
Re: Unauthorized Sessions
Programming
Web Development
13 Years Ago
by broj1
Your code is stil not OK. The credentials validation part is missing. You must check wheter supplied username exists in the database, and wheter password is correct. If both these conditions are true, you set the login condition ($_SESSION['loggedin']='1'). The flag $is_valid is not necessary it was propsed just for clarity. The logic baicaly is: …
Re: Unauthorized Sessions
Programming
Web Development
13 Years Ago
by Sparhauoc
I think its step 3 where I'm stumbling. Here is my code as it stands right now: [CODE] <?php session_start(); $_SESSION['loggedin']='0'; if(isset($_POST['Submit']) and !empty($_POST['Submit'])){ if($is_valid) $_SESSION['loggedin']='1'; header("Location:login_success.php"); } ?>[/CODE] BTW sry to be such a pain. I just started …
Re: Unauthorized Sessions
Programming
Web Development
13 Years Ago
by Sparhauoc
Ok, I have tried every way of saying it I can think of. I even tried "condition"? statements. I keep sending the people who log in successfully back to the login screen. If they login incorrectly they get a message saying so, but they don't get to proceed like they should if they entered it in correctly. Anyone got any ideas?
Re: Unauthorized Sessions
Programming
Web Development
13 Years Ago
by broj1
I have prepared a tutorial with example on how to code a login page. It has been submited as a new thread to the tutorial section. It is not yet there though so I am posting the code here as well. Hope it will help you. It is well commented. Everyone is invited to comment on it and suggest improvements. [CODE]<?php /* Login script example - …
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC