Giter VIP home page Giter VIP logo

mozsecworld's People

Contributors

haoqili avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mozmark yeukhon

mozsecworld's Issues

07_12_2011

TODO:

  • read about Access control
  • read about Django decorators
ACCESS CONTROL
    Presentation, Business, Data Layer Access Control
        Presentation and Data layers use decorators
        Read about presentation layer protection 
    (Possible) Two tier design for admin account separation
        The picture of separate control of changing passwords 

DONE:

Add Password Policy - Forbidden passwords

Put 10 passwords on page to show people that they should not use common passwords.

Have a user friendly way of telling people to pick better passwords if they picked a common password

07_07_2011

TODO:

  • 24 start to separate richtext and url

  • Wait for Brandon's advice. #40/#41 get recaptacha into csp
  • 7 HTTP Only fix

  • 16 SQL injection can't include script

DONE:

CSP Not Showing Google Recaptcha

In firebug

        CSP: Directive "inline script base restriction" violated
        Recaptcha.widget = Recaptcha.$("recaptch...

I saw the same bug and they fixed it by updating jQuery to 1.5. Well I updated it to 1.6.2 and it's still not working!

(also check out #40)

07_11_2011

TODO:

  • ask Michael what to do with CSP
    --> allow eval for setInterval?
    --> allow inline?
    --> make our own to get around setInterval?
    --> make our own to get around in-body script?

  • start on Access Control

    ACCESS CONTROL
    Presentation, Business, Data Layer Access Control
        Presentation and Data layers use decorators
        Read about presentation layer protection 
    (Possible) Two tier design for admin account separation
        The picture of separate control of changing passwords 
    

  • 24 start to separate richtext and url

  • 7 HTTP Only fix

  • 16 SQL injection can't include script

DONE:

07_06_2011

TODO:

  • #24 start to separate richtext and url

Done:

  • fixed #37
  • 13:16 - 14:18 finished CSP demo.
  • 14:18 --15:26 ice cream
  • 15:26 -- 15:57 email
  • 16:00 - 17:00 nap
  • 20, #38, learned to put js right before body closes, learned that CSP blocks out iframes and HTML events as well. had to change all the onclicks()

07_05_2011

TODO:

  • Start Reading CSP

DONE:

  • Webdev
    ---- 11am meeting
    -------- #6 separate the demos --> get a person to help. No need
    -------- ask about #9 multiple HMAC keys
  • Repaptcha / Authentication
    ---- #5 blogged about how I did recaptcha
    ---- #28 Password Policy
    ---- #25 login recaptcha inconsistent
    ---- #32 add in blacklisted passwords
    ---- #30 test multiple IPs
    ---- Jsocol
    -------- #14 see how kitsune did its recaptcha
    -------- Ask what problem he has had with recaptcha

how does is_valid() clean()?

Django docs say:

validation of a Form is split into several steps ...

  • validate()
  • clean()
  • clean_()

Can't find these things in source code:

# src/django/django/forms/forms.py

    def clean(self):
        """ 
        Hook for doing any extra form-wide cleaning after Field.clean() been
        called on every field. Any ValidationError raised by this method will
        not be associated with a particular field; it will have a special-case
        association with the field named '__all__'.
        """
        return self.cleaned_data

What does that mean? where does it check all the bullets?

07_04_2011 goals

  • #1 separated settings.py and settings_local.py
  • #15 Read webdev and playdoh docs
  • 6 separate the demos --> email webdev

  • Repaptcha
    -- #14 see how kitsune did its recaptcha
    -- #4 add recaptcha to login
    -- #5 blog about how I did recaptcha

07_06_2011

TODO:

  • 40/#41 get recaptacha into csp

  • 24 start to separate richtext and url

  • 7 HTTP Only fix

  • 16 SQL injection can't include script

OTHERS:

  • practice d
  • watch my d
  • practice again
  • watch again

DONE:

  • 09:00 - 10:00 Infrasec Meeting
  • narrowed down #41to CSP policy issue, since the JS is already externalized.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.