You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
OGordoo 369977f8d0 Go projects links fixes 4 years ago
..
README.md move subjects to folders 4 years ago
audit.md Go projects links fixes 4 years ago

README.md

forum-security

Objectives

You must follow the same principles as the first subject.

For this project you must take into account the security of your forum.

  • You should implement a Hypertext Transfer Protocol Secure (HTTPS) protocol :

    • Encrypted connection : for this you will have to generate an SSL certificate, you can think of this like a identity card for your website. You can create your certificates or use "Certificate Authorities"(CA's)
  • Clients session cookies should be unique. For instance, the session state is stored on the server and the session should present an unique identifier. This way the client has no direct access to it. Therefore, there is no way for attackers to read or tamper with session state.

  • The implementation of Rate Limiting must be present on this project

  • You should encrypt :

    • Clients passwords
    • Database, for this you will have to create a password for your database.

This project will help you learn about :

  • HTTPS
  • Cipher suites
  • Goroutines
  • Channels
  • Rate Limiting
  • Encryption
    • password
    • session/cookies
    • Universal Unique Identifier (UUID)

Hints

Instructions

  • You must handle website errors, HTTPS status.
  • You must handle all sort of technical errors.
  • The code must respect the good practices.
  • It is recommended that the code should present a test file.

Allowed packages

  • All standard go packages are allowed.
  • golang.org/x/crypto/bcrypt
  • github.com/satori/go.uuid
  • github.com/mattn/go-sqlite3
  • golang.org/x/crypto/acme/autocert