Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flask Sessions #115

Open
tonybaloney opened this issue May 16, 2020 · 3 comments
Open

Flask Sessions #115

tonybaloney opened this issue May 16, 2020 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tonybaloney
Copy link
Owner

Inspect Flask Session/Cookie configuration and compare with best practice

@tonybaloney tonybaloney added enhancement New feature or request help wanted Extra attention is needed labels May 16, 2020
@shankarj67
Copy link

I would love to work? Any pointers on how to start with security?

@tonybaloney
Copy link
Owner Author

@shankarj67 before it can be coded, we have to work out what all the "bad practices" are for handling sessions in Flask.

  1. What is the default configuration for sessions in Flask. Where are they stored? Are they encrypted?
  2. What are the best practices for sessions?
  3. What should you absolutely not do? E.g., storing passwords in sessions

This seems like a good resource to start with

https://pythonise.com/series/learning-flask/flask-session-object

Then fork this repo https://github.com/tonybaloney/pycharm-security-testing
and install the plugin into PyCharm.

Create an example Flask app with all the "bad practices".

@shankarj67
Copy link

Sure, thank you for the resources.

I will create a flask app and check everything related to sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants