Tuesday, April 26, 2016

Regarding django session handling:- cookie and session ID

While doing CSDL compliance i need to know that does django framework give following feature and if it does which are the API for the same.


1. When cookies are used to carry authentication tokens or session IDs within a web application, and multiple such cookies are present, does django verify all such cookies before granting access to the user session. 

2. in django does All conflicting cookies are treated as invalid.

3. If validation of any such cookie fails, is it treated as if it didn't exist, and does this thing gets logged  and get added to the audit log.

4. After validation of all such cookies, does django gives permissions evaluated based on the               cookies for which validation succeeded.

5
Cleartext Storage of Sensitive Information in a Cookie:- does it stores the data in cookie in plain form or in other form can that form be easily decoded. 

6
Information Exposure Through Persistent Cookies -does it keeps the cookie in the db always or the unused or old cookie are deleted.

7. Reliance on Cookies without Validation and Integrity Checking:-redundent (does it rely on cookie without the validation check)

8. Sensitive Cookie in HTTPS Session Without 'Secure' Attribute- the cookie which are send in https session with secure attribute not set do they go in plain format. 

9. Session Id is fully validated before they may be used:-validation of session id is done in case of djanago 

10. 
When using session ID to keep authentication state and track user progress within a web application, the django application treat the session ID as untrusted data, and sanitize and validate it before use.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7f09d3cd-d6e2-4f87-8b41-c9fe19257755%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment