Google Answers Logo
View Question
 
Q: Help with PHP code and phpGACL ( No Answer,   2 Comments )
Question  
Subject: Help with PHP code and phpGACL
Category: Computers > Programming
Asked by: jamieinnh-ga
List Price: $50.00
Posted: 03 Apr 2005 10:11 PDT
Expires: 06 Apr 2005 05:53 PDT
Question ID: 504357
I am building a site, and have found the class I would like to use for
user authentication, it is phpGACL.   I am very new to PHP and have read
hour 5 of the "Learn PHP in 24 hours" book.  :)   So I need someone to
help me with code snippets in order to get phpGACL working in the way
I need it to.

I am should I will have to clarify in more details about what I need,
but I wanted to post a brief question to see if this is even possible
to be done under Google Answers or if I needed to hire someone
outright to handle this.  I have seen joseleon-ga answer questions
such as this, and in the end, if this format is acceptable, I have
several modules I would like to get working together, so I would think
this would be one question or many I would need to ask to get my
entire project done.

I have also started the Price low, but am willing to increase it if
this is something that can be handled under Google Answers.

Jamie

Request for Question Clarification by webadept-ga on 03 Apr 2005 20:00 PDT
The answer to your question Jamie is "yes" GA is a great format for
this, and we have several researchers currently who can answer your
questions on how to do things in PHP using just about any library you
find out there. So, save your money on this one, and post your
questions as they come up during your project, and we'll see that you
get your answers.

Truth be told there are a few of us who prefer questions about PHP and
other programming languages. So, we are all ears.

webadept-ga

Clarification of Question by jamieinnh-ga on 04 Apr 2005 14:11 PDT
Ok, Thanks webadept-ga for clearing up how I can make the most use of GA.

I have the beginnings of an internal site for my company.   It will be
for my staff, and clients.   I want to use phpGACL for my user class
since it's very powerful, and right now it will be overkill, but
planning for the future, it will just right.

I currently have my internal site password protected via .htaccess  
We call the internal site "The Pipeline"   The main page is protected,
and then there are links within the main site that I need to control
access via user groups, or roles.   As I have said I am new at PHP, so
I know what I want in my mind, but might not be asking for the right
thing.  :)

I have phpGACL set up on my server, and can access it, and create and
define the different groups, users, roles etc.   but I don't know how
to use this program.   There aren't any real examples to go by, and I
learn better my seeing the inside, and how it works.

Currently, I have a need for this:

1. Show me how to use phpGACL to protect my main site, and get rid of .htaccess

2. Show me how to use the roles/groups to protect certain links from
within the site to only allow access to certain people.  ie.  Admin
access=everything, manager access=everything except settings, sales
access=sales links, etc.  I would hope this example, would be easy for
me to add new links, and protect them according in the future.


In thinking about this and the solution for me, please consider the
following.   I run several programs, and will in the future, or now if
you think it best to start there, would like, when you log into "The
Pipeline" and you click on a link to one of these programs, SugarCRM,
and dotProject, you will be logged into these automatically.  I
believe dotProject already uses phpGACL so that might not be a
problem, SugarCRM does not use phpGACL so I am not sure how this would
work.  My experience, or lack there of fails me here.

Please let me know if you need anything else.


Thanks!
Jamie
Answer  
There is no answer at this time.

Comments  
Subject: Re: Help with PHP code and phpGACL
From: joseleon-ga on 06 Apr 2005 00:13 PDT
 
Hello,
  Yes, I have answered such a questions in the past, but I have been
required by Google Editors to put the code online and freely available
so anyone reading the answer would be able to use the code. Just bear
in mind that the code you will get from here will be public.

Regards
Subject: Re: Help with PHP code and phpGACL
From: jamieinnh-ga on 06 Apr 2005 05:53 PDT
 
Thanks for sending a comment joseleon.   For some Modules of mine I
think posting it would be ok, but since this is deal with security, I
think you're right in that it shouldn't be posted.

I will cancel this question, and will re-ask another quetion after I
get the user auth part working.

Thanks!
Jamie

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy