Drupal login session for non-drupal pages
elsora - June 6, 2009 - 22:44
I want to use the drupal user roles to restrict access on certain non-drupal pages. can I do this?
I want to use the drupal user roles to restrict access on certain non-drupal pages. can I do this?
_
Yes. Use one of the access control modules (ie simple_access, node_privacy_byrole, content_access, etc).
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Those all look to be *node*
Those all look to be *node* access control modules, the original quesiton was to control access to non-drupal pages (which i interpreted to mean, freestanding php for example which may hook into Drupal via bootstrap). I'm following up because I have the same question. Thanks.
_
duh-- sorry I missed the "non" part of non-drupal. Don't know of any way for drupal to do that-- but you might be able to use http://drupal.org/project/securesite to use http authentication for both drupal and the rest of the site.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.