Open Contest

58 views
Skip to first unread message

stevo mitric

unread,
Jan 23, 2019, 5:23:26 PM1/23/19
to contestm...@googlegroups.com
Hi

My friends and i just installed CMS on our server (we plan on practicing for IOI 2019 this year) and we would like to make the contest of "open type" so that anyone with a URL to our server can submit (since we want to give it to our guys at school too) without the need of making "new user" for everyone..
Aside from creating an account with username & password "test" is there anything supporting our needs ? 

Thank you for your time.

Stevo

Luca Wehrstedt

unread,
Jan 23, 2019, 5:38:02 PM1/23/19
to stevo mitric, contestm...@googlegroups.com
I don't think such a setup is recommended, although I can't come up with a real danger yet (attackers could jam up your queue, dos your servers, etc., but this doesn't seem too critical).

As you said, you must create a "test" account that your actual users will be logged in as in order to submit. Instead of giving everyone the password you could try triggering the auto-login based on the IP address. The easiest way I can see to achieve this is to put a proxy in front of your CWS but *not* set num_proxies_used configuration key. This way CWS will think all requests come from the proxy's IP address. You then just need to set autologin for your test users for that IP address.

Also, consider instead using the newly-introduced auto-registration feature: users will be able to create their own accounts, without you having to do anything, and this will give each of them their own "space", with their own list of submissions, etc.

--
You received this message because you are subscribed to the Google Groups "Contest Management System (support)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to contestms-supp...@googlegroups.com.
To post to this group, send email to contestm...@googlegroups.com.
Visit this group at https://groups.google.com/group/contestms-support.
To view this discussion on the web visit https://groups.google.com/d/msgid/contestms-support/CAGZQYxRXZhTRXmWY-OD%2Bj-vS763m-r645Kwtbs06RhxZwLCQaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Seye Folajimi

unread,
Nov 19, 2020, 2:50:33 PM11/19/20
to Contest Management System (support)
hello, i will like more information about the newly-introduced auto-registration feature, i have users on an already existing PHP platform, i would like to use the CMS for the competition and send results to the php, i am am working on registering the users with a foreign key to users on php platform, any advice or better model to use for this?
Reply all
Reply to author
Forward
0 new messages