cake-php@googlegroups.com
[Top] [All Lists]

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

Subject: Re: how to use ssl to secure subdomains of a cakephp app
From: Matt Murphy
Date: Fri, 24 Dec 2010 20:17:48 -0500
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 <kimcity@xxxxxxxxx> 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 to https://secure.example.com/orders/checkout when
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 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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
<Prev in Thread] Current Thread [Next in Thread>