1000 search results
Learn Symfony 3
Upgrade to Symfony4 and Flex!
…want. That means, back in SecurityController, delete this line and add a new AuthenticationUtils $authenticationUtils argument. Done. The last spot is in UserController: we're using security.authentication.guard_handler. This time, let's guess the type-hint! Add a new argument: Guard... GuardAuthenticationHandler. That…
Developer Tools
Animated Deployment with Ansistrano
…needs to be smart enough to read these headers, instead of the normal ones. Symfony doesn't do this automatically, because it could be a security risk. You need to configure it explicitly. Google for "Symfony reverse proxy". Ok! In our front controller - so app…
…to directory, mode to 0777 and recurse: true: On deploy, this will make sure that the directory exists and is set to 777. That's not the best option for security... but it should get things working! Deploy one more time: Type beefpass, deploy to…
… Why did I do this? Mostly, simplicity! Thanks to this, the private key will always exist. How bad of a security issue is this? Well, this key only gives you read-only access to the repository. And, if you were already able to download the…
Learn JavaScript
JavaScript for PHP Geeks: Webpack for Module Loading Awesomeness
…Origin set to *: Since our site is served on a different host than our assets... well really a different port... CORS security will prevent some requests from working. This header will allow those requests to be made. Phew! Restart the dev server one more time…
Ansible for Automation!
…using the module is pretty simple! We're just going to give it a lot of info about the image we want, the security group to use, the region and so on. Add a new task called "Create an Instance". Use the ec2 module and…
Journey to the Center of Symfony: The Dependency Injection Container
…imports config.yml: And config.yml loads parameters.yml, security.yml and services.yml. Every file in the app/config directory - except the routing files - are being loaded by the container in order to provide services. In other words, all of these files have the…
Learn Symfony
Symfony Security: The Basics
Limiting Login Attempts
Role Hierarchy & Access Control
Enabling "Remember Me" Feature
Learn Symfony 6
Upgrading & What's New in Symfony 6!
Custom Authenticator authenticate() Method
Learn APIs
API Platform 3 Part 2: Security for your Treasures
Access Token Authenticator
Deny Access with The "security" Option
API Token Scopes
Logout & Passing API Data to JavaScript
Whoops, an error! Please, try again later.