eclipse-archived / ceylon-herd

The Ceylon repository web application
Apache License 2.0
21 stars 11 forks source link

Move API to separate host name #100

Closed FroMage closed 8 years ago

FroMage commented 11 years ago

We should get a host name of api.modules.ceylon-lang.org and make sure that the Play session cookie is only set for the exact host name modules.ceylon-lang.org as opposed to all subdomains as it is now: .modules.ceylon-lang.org.

Then we request Basic auth for every authenticated call to api.modules.ceylon-lang.org, and we disallow API access from modules.ceylon-lang.org without CRSF form parameter checks.

FroMage commented 8 years ago

Done.