Fossil SCM
Default disallow local local users
Fixed
573727d6d93badc…
· opened 15 years, 1 month ago
- Type
- Feature_Request
- Priority
- —
- Severity
- Important
- Resolution
- Fixed
- Subsystem
- —
- Created
- Feb. 21, 2011 10:38 p.m.
When using nginx to proxy back to a fossil repo, it's easy to either uncheck once in production or leave unchecked to start. Not unsolvable, but it would be ideal to have "Require password for local access" checked by default or removed all together in favor of the following behavior.
I understand that option is there to facilitate local logins via "fs ui" but it seems like a better alternative would be to make "fs ui" perform the following:
- User calls
fs uifrom the command line fs uiinjects a valid one-time use token in to the sessions tablefs uithen calls web-browser with something likehttp://127.0.0.1:8080/my_repo/auto-login?token=abcdef0123456789abcdef0123456789which issues the user a login cookie and removes the one-time use token from the database
This step would go a long ways towards a "secure by default" policy for Fossil.