Questions tagged [anonymous-users]

Questions involving this tag should cover topics related to identifying a user for the purpose access control in relation to a product or service that may span multiple sessions over an indefinite period of time. Such a user could be either an individual person or some implementation of a system, such as an API client.

An anonymous user may be:

  • accessing an installed or web-based application as part of a trial
  • accessing an installed or web-based application for the purposes of secrecy
  • associated with a usage quota for abuse prevention
  • granted temporary/guest access to edit or view a resource

Questions related to identifying a user for the purpose of advertising or analytics are considered off-topic for this tag. Depending on the context, questions regarding strategies to deanonymize a user may also be considered off-topic (such as deanonymizing a Sign in with Apple user).

Related tags:

Web-based anonymous access is often associated with methods of storing user identifiers and tokens such as:

68 questions
1
vote
0 answers

Django 2.0 - Allowing Anonymous User Post Privileges

I am new to Django and require some help as to how best to implement an anonymous user within django 2.0. The Aim Essentially I am trying to create a website in which a user can fill out some fields and then this can be split into sub tables. The…
Jonnyboy
  • 136
  • 1
  • 8
1
vote
2 answers

Django rest framework Anonymous user is always Authenticated

I'm trying to authenticate my web API method using django rest framework isauthenticated permission and TokenAuthentication The API method: @api_view(['Post']) @permission_classes((IsAuthenticated,)) def listofgroups(request): try: …
1
vote
1 answer

'AnonymousUser' object is not iterable - accessing to views by anonymous and authenticateds users

I have the following Urls: The main urls.py: url(r'^accounts/profiles/', include('accounts.urls', namespace = 'accounts')), The accounts/urls.py url(r"^(?P[\w.@+-]+)/$", views.UserDetailView.as_view(), name='detail'), I've created the…
bgarcial
  • 2,915
  • 10
  • 56
  • 123
1
vote
1 answer

Requests in authenticated session are sometimes sent by AnonymousUser in Django

I've a django application which runs on gunicorn behind nginx proxy. When users log in, I redirect them to a single page application which is developed by Angular. I'm using @login_required decorator for all functions used in SPA. While using the…
erdimeola
  • 844
  • 8
  • 17
1
vote
2 answers

Object permissions with read only access for anonymous users in Django Rest Framework

The problem I am using Django REST Framework - and so far I have been using the DjangoObjectPermissions permissions class. I use django-rules to determine which users have permissions for objects. However, this permissions class seems to deny read…
Kieran
  • 2,554
  • 3
  • 26
  • 38
1
vote
1 answer

Why anonymous FTP to HDFS DistCp does not work?

I tried below command to copy FTP data to HDFS, hadoop distcp ftp://ftp.ncdc.noaa.gov/pub/data/noaa/1901/ data/noaa/1901/ Here is the error I received 15/03/04 11:29:13 INFO tools.DistCp: Input Options: DistCpOptions{atomicCommit=false,…
SunnyShah
  • 28,934
  • 30
  • 90
  • 137
1
vote
2 answers

How to prevent accessing unauthorized user to resource such as .pdf file in host?

At the moment in my ASP.NET webApp I have some resources such as some .pdf files or pictures in specific folder in the host . If any user know the URL of those files can access them from the browser , How can i manage access or ban anonymous user…
Mostafa
  • 3,002
  • 10
  • 52
  • 79
1
vote
1 answer

Google apps javascript doesn't run for anonymous users?

This is probably a dumb newbie question, but I have a spreadsheet that I want to make available to anonymous users by just giving them the URL. After a lot of hair-pulling I now have the cell protection rain dance figured out, but I have another…
1
vote
4 answers

Drupal anonymous user permissions problem

I have been wracking my brain on how to solve this issue for hours now, and I know I'm not the first one to encounter it. I am having trouble granting anonymous users access to node content in Drupal 6.15. I have tried everything, including inserts…
Marcy Sutton
  • 907
  • 12
  • 22
1
vote
1 answer

sudo for script which use mysql connect with anonymous user

I have following script: [root@localhost:~]# cat /mnt/start_discovery #!/bin/sh InterfaceNumber=$((65471 - $1)) mysql --user=' ' --execute="insert into dc.discovery_commands(device, job_ttd) select $InterfaceNumber, DATE_ADD( UTC_TIMESTAMP(),…
0
votes
0 answers

CreateUserWizard automatically login newly created users

I am using CreateUserWizard control in my asp.net application. I want to create an anonymous user in sql server database. I want to see IsAnonymous column's value true, but what happens is as soon as I click the button "create user", immediately the…
0
votes
0 answers

After upgrading firebase_auth, for credential-already-in-use error, error.credential returns null when converting anonymous user to google user

I have a Flutter web based game wherein I am trying to convert anonymous user to google registered user in Firebase. I recently upgraded Flutter from v2.3 to v3.3.8 and corresponding Firebase packages too. Here are the upgraded versions of Firebase…
0
votes
0 answers

Is It Enough? M2M JWT Validation + SSL Cert on Public Website w/ CMS API

Current situation: Multi-provider network (medical) Multiple public websites that rely at least partially on an in-house CMS for updating content such as articles, location addresses, office phone numbers, etc. SSL certificate for all…
0
votes
1 answer

How to handle anonymous user's expired token

I want to allow users of my app to sign in anonymously (that will create an account for them with a randomly generated email & password), and if and when they'll want to create a permanent account, they will be able to simply bind an email &…
Ofek
  • 324
  • 3
  • 13
0
votes
1 answer

How to force ValidatePrincipal to be called on AuthenticatedUsers even for [AllowAnonymous] actions?

I am using cookie authentication on a new ASP.NET CORE 3.1 project. I have a controller action that is used by both guests as well as authenticated users. Because of that, it is decorated with the AllowAnonymous attribute. The behavior of the action…