Login to add a question
Please login from student email id only (@ds.study.iitm.ac.in).
Student Google login
-
1
Explain your project , models.py, what is flask, Jinja, Authentication vs Authorization. CODING changes - Make button color green, create route to search approved companies.Times asked 1Official solution
SimpleAuthentication: tu kaun hai? (login). Authorization: tujhe permission hai? (role check).
Example
# auth if check_password_hash(user.password, pwd): session['user_id'] = user.id # authz if user.role != 'admin': abort(403)Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Proctor was polite. Gives u time to answer .