Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  Eve Community  Hop To Forums  Customization Ideas    .HTACCESS FILES
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Groupee Member
Posted
I created one in the EVE Private Web Master settings. HOWEVER, it appears this is for a directory on my server at infopop.

I wish to use a member only category/forum containing links to another provider for viewing mpg files in a related site.

any idea on what has to be in this file?

http://forums.accuratereloading.com/eve

Thanks.

Don
 
Posts: 54 | Location: Duxbury MA | Registered: February 23, 2001Reply With QuoteEdit or Delete MessageReport This Post
Groupee
Posted Hide Post
Private Web Directories only work on Infopop servers. You can use .htaccess files on any Apache web server, but there would be no (easy) way to authenticate them against an Eve user.

You could use the Simple Authentication API to write a script to secure those video files.
 
Posts: 3880 | Location: Seattle, WA | Registered: January 01, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Posted Hide Post
Steve, just sent you a PM.
Don
 
Posts: 54 | Location: Duxbury MA | Registered: February 23, 2001Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of theclam
Posted Hide Post
It would be nice to see groupee/PWD support authenticaiton from other servers.

Ex. Scripts that require a LOT of bandwith or in cases where LOTS of disk storage is needed for large files etc... It get's to expensive to host these types of needs at infopop. It would benefit your infopop customers by allowing them to offer more "aggresive" servicies that infopop may not want to host do to the demand they may create in the infopop enviroment in respect to server resources or calls to your call center. BUT it would certainly allow for a lot more THRIVE members if we could offer such services which benefits you and your customers.

It may even allow you to offer groupee/thrive as a standalone option to anyone hosting anywhere.

just a thought...not completly thought out.. but you get the idea... Don't you?
 
Posts: 149 | Registered: March 19, 2004Reply With QuoteEdit or Delete MessageReport This Post
Eve Developer
Aspiring Monkey
Posted Hide Post
Its an interesting thought, but in order to get it to work we would need to figure out how to get stock apache to authenticate a cookied user with Eve... And honestly I dont think it can be done.

Especially not when the site is not using the same domain as eve and apache has no way of knowing if the person is even logged in.

Though if it could be done your right, it would definitely give a lot of value.


Jonmark Weber
Developer
Groupee, Inc.
 
Posts: 1887 | Location: Seattle | Registered: November 10, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of theclam
Posted Hide Post
You would have to have an authetication module in the apache build on the non eve hosting place. Without a custom apache build, your right I don't think you could do it.

I'll keep thinking about it...
 
Posts: 149 | Registered: March 19, 2004Reply With QuoteEdit or Delete MessageReport This Post
Eve Developer
Aspiring Monkey
Posted Hide Post
Yeah, that is how we have handled it thus far, and is why it requires to be ran on our machines...

It might be possible for us to publish our module, but that is not my decision.

Cheers,


Jonmark Weber
Developer
Groupee, Inc.
 
Posts: 1887 | Location: Seattle | Registered: November 10, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee VIP
Posted Hide Post
Remeber that the simple Authentication API runs on *any* server and could be adapted to what you are looking for. It's only the PWD system using the modified Apache Auth itself must run on your Infopop server.


Infopop Corporation
 
Posts: 3604 | Registered: February 23, 2000Reply With QuoteEdit or Delete MessageReport This Post
Eve Developer
Aspiring Monkey
Posted Hide Post
Michael is correct. Though I think that the desire is to use PWD so they can have Premium Groups control access. Which I dont beleive is something that can be done with Simple Auth.


Jonmark Weber
Developer
Groupee, Inc.
 
Posts: 1887 | Location: Seattle | Registered: November 10, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee
Posted Hide Post
You can use SimpleAuth for that, but you'd need to do the group lookups programatically.
 
Posts: 3880 | Location: Seattle, WA | Registered: January 01, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of theclam
Posted Hide Post
"group lookups programatically" meaning sql query via perl or php? There is no API that returns an array of groups that the user belongs to?
 
Posts: 149 | Registered: March 19, 2004Reply With QuoteEdit or Delete MessageReport This Post
Groupee
Posted Hide Post
quote:
Originally posted by theclam:
"group lookups programatically" meaning sql query via perl or php? There is no API that returns an array of groups that the user belongs to?


Correct. You would need to use SQL and do the queries yourself. SimpleAuth does not return group information, only their OID and display name.

You could of course write a class that is re-usable.
 
Posts: 3880 | Location: Seattle, WA | Registered: January 01, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of theclam
Posted Hide Post
OK Here is my solution! (I think)

Using the script Michael refrences here.... http://community.infopop.net/eve/ubb.x/a/tpc/f/70710879033/m/99910156463/r/37910945763#37910945763

You create a redirect php script on the non-eve hosted server using the above auth script. That scripts checks if the user is valid and then will redirect them to the passed url. OR if the user is not vailid they will be prompted to log in!

The redirect script can make a group sql call to the eve database to check what groups they are in and then compare that to a table in mysql that lists the URL's and group combos that are valid...

http://xxx.xxxxx.com/redirect-w-auth.php?target=http://xxx.xxxxx.com/blah/blah.html

You would also need to setup an apache rewrite rule to block url requests that do not contain the redirect-w-auth.php script in the url...


Does that make ANY sense?
 
Posts: 149 | Registered: March 19, 2004Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of theclam
Posted Hide Post
quote:
Originally posted by theclam:
OK Here is my solution! (I think)

Using the script Michael refrences here.... http://community.infopop.net/eve/ubb.x/a/tpc/f/70710879033/m/99910156463/r/37910945763#37910945763

You create a redirect php script on the non-eve hosted server using the above auth script. The script checks if the user is valid and then will redirect them to the passed url. OR if the user is not vailid they will be prompted to log in!

The redirect script can make a group sql call to the eve database to check what groups they are in and then compare that to a table in mysql that lists the URL's and group combos that are valid... (this assume Michael's script will write out a cookie for the domain that it is being run on)

http://xxx.xxxxx.com/redirect-w-auth.php?target=http://xxx.xxxxx.com/blah/blah.html

You would also need to setup an apache rewrite rule to block url requests that do not contain the redirect-w-auth.php script in the url...


Does that make ANY sense?
 
Posts: 149 | Registered: March 19, 2004Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  Eve Community  Hop To Forums  Customization Ideas    .HTACCESS FILES