The process of identifying an unknown user.

learn more… | top users | synonyms

0
votes
2answers
39 views

$user->uid is false even when logged in

I have this code: global $user; if (!$user->uid) { drupal_set_message("You must log in to view this content."); drupal_goto('node/153', array('query'=>drupal_get_destination())); } ...
1
vote
0answers
18 views

How can I make Rules react to `User has logged in` when user logs in through CAS?

I want to execute some php code when users log in, so I'm experimenting with the Rules module. I have it configured to fire a function of mine when a user logs in and it works fine, but it only works ...
0
votes
1answer
30 views

Drupal 7 - Login with external Database

I want my users to be able to login into Drupal with an external user database. I searched for a long time and don't get any module/trick/whatever that is out there. Please help me a little, I'm new ...
0
votes
3answers
34 views

sharing authentication within two drupal distributions

I am looking for a module or a way where two different drupal distributions can share the same authentication or user database ? Is there a module that can help with that ? possibilities- if user A ...
0
votes
0answers
33 views

Bakery: Users that exist only on slave cannot login

Once I've installed bakery, users that exist only on the slave site can no longer login. Everything else is working perfectly. Is this by design?
2
votes
2answers
112 views

HTTP Basic auth on specific Drupal paths?

I want to use HTTP Basic authentication on a group of paths in my Drupal site (e.g. /folder/*). The paths are all menu callbacks that don't have actual page content. I tried to use Secure Site but I ...
0
votes
0answers
33 views

Symfony2 authentication and Drupal 7

I am currently developing a website using the framework Symfony2. I am nearly at the end of its development, and just the "security" part is missing (authentication and authorization). What I would ...
1
vote
1answer
145 views

POST request trying to make a Session authentication in the REST SERVER return a HTML error 406 Not acceptable

I have a REST server in drupal working. I get data if I go to the server endpoint. In Navigator: http://localhost/drupal-7.19/restserver/user/ Work fine. I have created a PHP to make the ...
0
votes
0answers
92 views

Drupal 7 IIS 7.5 NTLM login prompts w/ webserver authentication module

Acquia Drupal 7 running on Win 2008 R2 IIS 7.5. Trying to set up SSO. Installed webserver authentication module for v.7 and set server for Windows NTLM authentication. Users are not passed through, ...
4
votes
1answer
92 views

Where are valid password reset tokens stored?

When one submits the form on user/password or executes drush uli, a password token is generated. Where does Drupal store these?
0
votes
1answer
28 views

Change the current loggedin Domain?

At D7 multi-domain site, how to simply change the current domain of the user after he logged in to another domain? For e.g, A user fill the login form at, "false.example.com", I want to push him ...
0
votes
0answers
29 views

How to creating custom access control for nodes and files

I basically have a bunch of nodes (pages) with associated private files, which only visitors that fill out a form and check a checkbox, indicating the accept terms and agreements, can access. Is ...
0
votes
0answers
39 views

Drupal 7 site not completing Twitter authenication

Hi I have a Drupal 7 site that uses the Twitter Signin module to allow twitter users to authenticate on the site. The site has a Twitter signin button. Clicking on that button correctly redirects to ...
0
votes
0answers
66 views

How can I access the API of an external site requiring authentication?

I am new to Drupal (and indeed authorization) so forgive me me if the answer to my problem is obvious (I hope it is!). I am trying to extend a client Drupal site that uses 6.2. The requirement is to ...
0
votes
0answers
22 views

Default security settings overriding resource settings with the services_oauth module

I'm using Drupal 7 with the Services 3.x-dev and OAuth modules. I created an endpoint for Rest access and configured the default required authentication to be 3-legged authentication. then I changed ...
5
votes
3answers
126 views

Using Site A to authenticate users of Site B?

Is there a module that will pass the authentication request off to a second Drupal site, ideally to an out-of-the-box services endpoint? There are some similar questions about login integration with ...
1
vote
0answers
18 views

Mutiple Admin with each having multiple client account handling

I want to have Multiple administrator with each Administrator have many Client user ,with each client have it own theme and functionality
1
vote
0answers
68 views

When in account creation should I get auth session and ID?

I am using Drupal 7, and the Services module version 7.x-3.2. Posting a new user object to user/register.json, I get a response with status equal to 200, and an object with only uid and uri. If I ...
4
votes
0answers
161 views

Drupal Services OAuth

I have been working on this issue for a couple weeks now, and I can't find a solution for the life of me. The fact that I have found no decent documentation (on Drupal's website, or anywhere else) is ...
3
votes
1answer
278 views

How to integrate properly Kerberos based SSO in Drupal 7

I'm trying to install Drupal with Single Sign On over Active Directory. My customer does not have any SSO suite like CAS, and their general recommendation are to use Kerberos (or NTLM as a second ...
2
votes
1answer
258 views

How to create multiple user account types in drupal 7

I want to customize the default registration process in drupal 7 like Paypal. Users can choose their account types to register and each account type has some corresponding fields to fill ...
0
votes
0answers
48 views

some menu aliased links set $user global to anonymous

Some of my aliased menu items redirect to login, other items in the same list do not. After some investigating, I found that on these pages, the $user global is set to user 0 (anonymous). I saw this ...
0
votes
2answers
74 views

Can I use the $user global variable for security purposes?

I am developping a module which allows users to modify information about themselves using a form. I want to make sure no user is able to modify the informations about another user. To do this, I ...
3
votes
1answer
166 views

Executing JS calls during user login validation (Drupal 7)

I need to execute three different JS calls during the login process (for tracking reasons) depending on how the validation goes. I have no idea where to include them: 1. Event: Login failed (wrong ...
1
vote
0answers
96 views

load external xml feed in drupal based on login credentials

We are asked to provide a secure RSS or XML feed to a Drupal based website. The idea is that we provide some basic information about our service (e.g. # of unread messages) based on their Drupal login ...
5
votes
1answer
209 views

Using Drupal 7 multisite framework for a ReSTful API and Auth Strategy

My Situation I have a small app with a public interface. I'm interested in making an API for this to be used in a mobile environment and even eventually as a public API. I want to keep it simple with ...
0
votes
1answer
156 views

How can i authenticate a user without using Drupal functions?

I need to authenticate a D7 user from a php page from outside a Drupal session. In D6 i could have used the md5() function, now i've seen that this is not possible due to changes to D7 authentication. ...
1
vote
1answer
111 views

Single Sign On Integration with NetCommunity

I want to integrate Drupal with Net Community Black Baud single sign on. The approach/process flow is same like FaceBook Connect or LinkedIn integration for single sign on. NetCommunity is just ...
0
votes
1answer
447 views

Drupal7 REST webservices API KEY vs OAUTH two-legged authentication for clientside JS consumer library

I'm working on an Drupal7 API, using REST services, and consumer JS library (no server code). I'm not trying to authenticate/authorize the end-users, only to identify and allow access to the ...
3
votes
1answer
107 views

Two-factor authentication with code sent to email

I'd like to ask you if there are any possibilities of a two-factor authentication with authentication code sent to email. I've found TFA module which can send an SMS, and according to their ...
0
votes
1answer
300 views

Webform email component created programmatically

I am trying to build an email confirmation utility into a web application. For some other project I might just use jQuery to insert a new text field beneath my email field and compare their input as ...
4
votes
1answer
663 views

Clear example of Service module authentication and authorization

I've been playing around with Service module, which it seem the best module for exposing web service specificaly I have REST architecture. Nevertheless haven't been able to clear how does the ...
0
votes
1answer
99 views

Why does drupal_session_start fail after a user clears cache then logs back in?

I'm writing a document management module which has come pretty far and is almost ready for a final review and release, but I've found a really strange authentication issue that is requiring a gross ...
1
vote
0answers
183 views

Drupal Module as web service with SSL

I need to create a SOAP web service that gets user-related information, but I want to secure the service with two-way ssl certificates (mutual authentication). I have created a module that does the ...
2
votes
2answers
1k views

How to handle private file uploads and downloads?

For a project I'm working on, I need to be able to: Upload a file as Admin, assigning it to a user (this is working using the "author" field at the moment), attaching it to a node (ie. using the ...
1
vote
1answer
343 views

LDAP Role Mapping - Working, but not Assigning

I have setup the ldap module for Drupal 7 - everything is working as it should, apart from when a user logs into the site the role defined for that person isn't been assigned to their profile, they ...
1
vote
1answer
86 views

How to hide certain links in forum?

I am wondering what is the best way to preserve viewing certain url patterns in forum posts only for authenticated users? So that guests can see something like "please log in to view the link", as per ...
3
votes
1answer
180 views

How to force openid login from a single provider in Drupal 7?

So with the current Drupal 7's OpenID module, one must click on the "OpenID" on the main page, which the user then enter the url of the OpenID provider to link up to. Assuming I know exactly what ...
0
votes
2answers
627 views

Login with social network [duplicate]

Possible Duplicate: Alternative to Janrain Engage module for login? I'm trying to make a login with social networks. I found the Janrain Engage module, which has the functionality I want, ...
0
votes
1answer
238 views

Login no longer working [closed]

Until recently (like today) I was able to log in fine on my drupal 7 site. I used the admin log in that I created when I installed the site. Now I cannot log in anymore. I go to /user and I type in ...
2
votes
2answers
183 views

How to authenticate a user which exists in an external site?

I would like to authenticate a user which exists in an external site. Here is a use case: In Drupal, user enters his username and password and hits submit. Drupal tries to find that user in it's ...
3
votes
2answers
216 views

How can I authenticate against a non-drupal database?

We have a non-Drupal intranet system built on php/mySQL. We're adding a Drupal install to handle some social functions, and would like (if possible) to not duplicate all of our login information. Is ...
2
votes
1answer
192 views

Creating an external authentication module

In Drupal 7, is it possible to make a module that handles user authentication without using the user_external_login_register method? (In other words, without saving the user in the Drupal database?) ...
2
votes
0answers
86 views

LDAP cannot load AD groups

I have used LDAP module with Drupal 6 without issues, but now that I am working with Drupal 7 the LDAP module seems to be unable to load the AD groups. I have searched all along the web but I couldn't ...
1
vote
0answers
275 views

Allowing OpenID only login to Drupal [duplicate]

We are looking to allow logins in our university Drupal instance via OpenID for non-university account holders. We currently use the CAS module to authenticate university account holders. We want to ...
3
votes
1answer
261 views

Forcing OpenID login instead of Drupal own authentication

Is there a way to force the users to use OpenID (e.g. Google, Facebook, Twitter) and not use Drupal's internal authentication?
0
votes
3answers
3k views

Make page accessible to logged in users only

I need to make a basic page available to logged in users only and also need to retrieve information based on their login. I installed the Content Access module but it is not granular enough for me. ...
4
votes
2answers
271 views

Whats the correct way of logging in through services from android?

I currently have an app in development where I use services 3 on drupal 7 to login to my site. I do this by simply passing in the username and password parameters to a json object and use httppost to ...
1
vote
2answers
140 views

Drupal authentication for a non-Drupal script

I have a non-Drupal PHP script I would like to put on a D7 Drupal site, but I would like it to be available only to users who have logged in via Drupal. What are the best/easiest ways to do this? It's ...
5
votes
2answers
212 views

Secure Login in Drupal

I'm designing a sensitive site and I want that login/passwd is not sent as plain text. I don't want to provide https connection or maintain a SSL certificate as it can easily be compromised on shared ...

1 2