Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Homework Assignment of CSE330 (WUSTL).

CielAl/Calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Module 5

Important

  • It was approved by the instructor Todd Sproull to upload the assignment contents to personal repository, but you may not use or adapt the implementation here into your assignment without permission from the instructor and the citation, otherwise it will violate the academic integrity of your department.

Right click days to interact with the calendar.

Memo-reference

The majority of the below are merely either tutorials or manuals.
Hence, in most of the cases, they only provide a general concept of how-to, rather than real codes (i.e. reading materials).
To compensate the fact that contextmenu element is only supported by Firefox but not chrome yet, jquery-context-menu API is applied.

Existing user:

  • aaa (pwd: aaaaaa)

Creative Portion

  • Further enhance the security by enforcing HTTP Strict Transport Security.

  • User will get email notification when time of an event is approaching.

  • User dynamically get whether the username is taken or not before click "signup" button.

  • Calendar, modal boxes and navbars are wrapped in classes and hence can be managed more effectively. Now dialogue boxes can be easily assembled with different functions based on various class of modal box in javascriot.

  • User management page in userhome: change password/change associated email before verified. (After verified, it will be permanent unless contact with webmaster).

  • email verification and verification token, simulate the spring security 5 process Here Mechanism: (1) simulate the UUID object of Spring by uniqueid with prefix of random_bytes(cryptographically secure) and uniqueid(more entropy) method. The verification token is bounded with user and email in database. User might re-send new verification tokens to current/new email address before they verify with token, with an interval of 30 minutes, to avoid abuse of mail-sending function. (2)The verification token has a 24hr lifetime. (3)The verification token is by $_GET request, and hence can be triggered by a url sent to the email. The url is encoded and contains the username and the token string. (4) When verifying the token, the system will check whether there is such token associate with such user and also not expired. If there is, then check whether the associated email to the token is verified by other users or not. If the token is valid and the email address is not verified by other user, the verification will be done. THe user will be marked with verified.

About

Homework Assignment of CSE330 (WUSTL).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published