Code Monkey home page Code Monkey logo

symf_doctrine_encrypt's Introduction

secureapp

Cet projet est un projet de démarrage pour l'atelier de sécurisation Web avec Symfony5.

Cet atelier est proposé après l'étude des failles de sécurité éditées par OWASP, afin de mettre en oeuvre les préconisations résultantes au sein d'un projet créé grâce au Framework Symfony 5, sur le site ici : https://secuweb.aesisoft.fr/


Prerequis

Il est necessaire d'avoir un serveur Apache2 avec PHP de version minimum 7.2.
Il faut également une base de données MySQL ou MariaDB et un client du type PhpMyAdmin.

Installation

  1. Cloner l'application sur votre serveur Apache localhost
  2. Configurer l'accès au serveur de données dans le fichier .env
  3. Installer les composants :
    composer install
  1. Créer la base de données :
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
php bin/console doctrine:fixtures:load

Paramétrage de PHP.ini

Pour chiffre/déchiffrer les DCP, il faut activer la bibliothèque libsodium disponible à partir de la version PHP 7.2 :

    extension=sodium

Si vous avez une erreur d'installation des composants, vous devrez peut-être augmenter la taille de la mémoire utilisée par PHP.

    memory_limit = 512M

Pour tester la taille actuelle :

    php -r "echo ini_get('memory_limit').PHP_EOL;"

symf_doctrine_encrypt's People

Contributors

webew avatar

Watchers

James Cloos avatar

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.