Commit Graph

8 Commits

Author SHA1 Message Date
David Anderson b817b8ed7a - admin web: changed protection scheme as follows:
- default: script can be run from command line;
        to run from web you need to be logged in as a particular user.
        (in addition to .htaccess protection).
    - if include $cli_only at start of script:
        can only be run from the command line.
    - if include $skip_auth_ops at start of script:
        can run from web without being logged in
        (this is set ONLY in login_action.php)
- admin web: added $cli_only = true to a bunch of scripts


svn path=/trunk/boinc/; revision=19230
2009-10-02 18:32:40 +00:00
David Anderson 0f9cda3ea3 - admin web: finished the above.
Got rid of auth_ops_cmdline() (not needed).
    auth_ops() is now called in util_ops.inc;
    every script in html/ops/ must include util_ops.inc.

Note: for existing projects, the admin web interface
    will now show "access denied".
    Projects must think about what access control policy they want,
    and specify it in project.inc


svn path=/trunk/boinc/; revision=19053
2009-09-15 18:14:37 +00:00
David Anderson 12d4b978be - scheduler: if client request uses a weak authenticator,
don't modify user preferences or CPID.
- client: fix bug that shows ATI version incorrectly
- database: host.posts has been repurposed as a salt (or seqno)
    for a new type of weak authenticator that won't depend on password
- web code:
    modify forum_preferences.posts instead of host.posts.
    (actually, the former isn't used either, we just do a select count(*);
    should fix this at some point).

svn path=/trunk/boinc/; revision=18865
2009-08-18 20:44:12 +00:00
David Anderson 9baf78fe5f - web: added copyright and license info to PHP files
svn path=/trunk/boinc/; revision=15758
2008-08-05 22:43:14 +00:00
David Anderson e65c5f562e svn path=/trunk/boinc/; revision=15434 2008-06-19 03:58:19 +00:00
David Anderson 13319d65f8 - If a hidden post is deleted, don't decrement its thread's post count;
it was already decremented when the post was hidden
- Added a function to forum_repair.php to fix inconsistencies
    due to the above bug

svn path=/trunk/boinc/; revision=15433
2008-06-19 03:44:27 +00:00
Bruce Allen 8dc13cd1e6 Turn off ops pages that update the data base. These now issue a message
informing the project admin that they need to be explicitly edited to
enable updating the database.  This will help prevent inadvertent use.
Thanks to David Hammer.

svn path=/trunk/boinc/; revision=5373
2005-02-09 18:09:26 +00:00
David Anderson ec78e50fb6 *** empty log message ***
svn path=/trunk/boinc/; revision=3476
2004-05-30 21:47:11 +00:00