Commit Graph

7 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 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 04b3417483 make scripts executable (SVN change)
svn path=/trunk/boinc/; revision=12489
2007-04-26 20:47:37 +00:00
David Anderson f8ea3e0797 *** empty log message ***
svn path=/trunk/boinc/; revision=11213
2006-09-28 18:51:52 +00:00
David Anderson 38e5c621ba *** empty log message ***
svn path=/trunk/boinc/; revision=11212
2006-09-28 18:01:29 +00:00
Rom Walton 09709bff77 *** empty log message ***
svn path=/trunk/boinc/; revision=3580
2004-06-15 19:26:01 +00:00