Friday, December 24, 2010

Re: how to use ssl to secure subdomains of a cakephp app

Thanks Matt.

I spoke to poLK in #cakephp quite some time after my posting.


She (i think) mentioned the same idea about using wildcard cert.

Thanks for the tip.

On Dec 25, 9:17 am, Matt Murphy <mattyh...@gmail.com> wrote:
> In order to get to user1.domain.com, your user would have to log in.  Am I
> right in thinking that is on the list of encrypted events?  And certainly
> there must be a few others like user management functions?  Ok, shutting up
> now.
>
> Unless you have a wildcart cert, you'll have to use method a.  Obviously,
> the wildcard cert solution would be way sexier (enabling method b), but
> those things are expensive.
>
> Matt
>
>
>
>
>
>
>
> On Fri, Dec 24, 2010 at 7:06 PM, Zeu5 <kimc...@gmail.com> wrote:
> > Hi there,
>
> > my cakephp app allows users to create subdomains.
>
> > for eg,
>
> > user1 creates subdomain1.example.com and
> > user2 creates subdomain2.example.com and so on...
>
> > all subdomains are pointing to the same app folder.
>
> > if a new subdomain is created, i merely keep track of it by inserting
> > new record in subdomains table. no new copies of `app` folder are
> > created.
>
> > i have a action common in all subdomains called orders/checkout
>
> > i want to ssl secure this page.
>
> > Do I
>
> > a)
> > create a separate subdomain such that all visitors to the different
> > subdomains are redirected to it?
>
> > eg, visitors at subdomain1.example.com or subdomain2.example.com will
> > ALL be directed tohttps://secure.example.com/orders/checkoutwhen
> > they run the orders/checkout action
>
> > OR
>
> > b)
>
> > all the visitors at subdomain1.example.com are directed to
> >https://subdomain1.example.com/orders/checkout
>
> > all the visitors at subdomain2.example.com are directed to
> >https://subdomain2.example.com/orders/checkout
>
> > and so on..
>
> > if it is a) how do i achieve that?
>
> > if it is b) how do i achieve that?
>
> > is there an alternative to a) and b)? if so, how do i achieve that?
>
> > Thank you .
>
> > Happy holidays
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.c om>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate