Toggle navigation
PHPERZ
网站首页
(current)
业内资讯
热点关注
移动互联网
发布与更新
数字解读
创业与职场
编程技术
PHP
Mysql
Apache
Nginx
Python
Android
Linux
jQuery
Javascript
Java
Swift
YII
ThinkPHP
Bootstrap
面试题库
教程
主题
搜索
概述
Symfony文档
The Documentation Changelog
快速入门
目录
总览
视图
控制器(Controller)
代码结构
教程
目录
Symfony和HTTP基础工具
Symfony vs 纯PHP
安装和配置Symfony
创建页面
控制器(Controller)
路由(Routing)
创建和使用模板
数据库和Doctrine
数据库和Propel
测试
校验
表单
安全性
HTTP缓存
多语言
服务容器(Service Container)
性能
核心功能
手册
目录
静态文件处理(Assetic)
包(Bundle)
缓存
安装Composer
配置
命令行
控制器(Controller)
How to Optimize your Development Environment for Debugging
部署
Doctrine
邮件
事件分发器(Dispatcher)
表达式(Expression)
Form
Logging
Profiler
Request
Routing
Security
How to Use the Serializer
Service Container
Sessions
How Symfony2 Differs from Symfony1
Templating
Testing
How to Upgrade Your Symfony Project
Validation
Web Server
Web Services
Workflow
最佳实践
目录
Symfony框架最佳实践
创建项目
配置参数
业务逻辑代码的组织
控制器(Controller)
模板
表单
多语言支持
安全
静态文件(Assets)
测试
组件
目录
How to Install and Use the Symfony Components
Asset
ClassLoader
Config
Console
The CssSelector Component
Debug
DependencyInjection
The DomCrawler Component
EventDispatcher
Expression Language
Filesystem
The Finder Component
Form
HttpFoundation
HttpKernel
The Intl Component
The OptionsResolver Component
The Process Component
PropertyAccess
Routing
Security
The Serializer Component
The Stopwatch Component
Templating
Translation
VarDumper
Yaml
参考
目录
FrameworkBundle Configuration (“framework”)
DoctrineBundle Configuration (“doctrine”)
SecurityBundle Configuration “security”)
AsseticBundle Configuration “assetic”)
SwiftmailerBundle Configuration (“swiftmailer”)
TwigBundle Configuration (“twig”)
MonologBundle Configuration (“monolog”)
WebProfilerBundle Configuration (“web_profiler”)
Configuring in the Kernel (e.g. AppKernel)
Form Types Reference
Validation Constraints Reference
Twig Template Form Function and Variable Reference
Symfony Twig Extensions
The Dependency Injection Tags
Requirements for Running Symfony
贡献
目录
贡献代码
贡献文档
社区
同类教程
Symfony2教程
Symfony2 Cookbook中文版
首页
教程
Symfony 中文指南
Security
Security
发布于 2015-08-27 16:22:12 | 236 次阅读 | 评论: 0 | 来源: 网络整理
How to Build a Traditional Login Form
Redirecting after Success
Avoid common Pitfalls
How to Load Security Users from the Database (the Entity Provider)
Introduction
1) Create your User Entity
2) Configure Security to load from your Entity
Forbid Inactive Users (AdvancedUserInterface)
Using a Custom Query to Load the User
Managing Roles in the Database
Understanding serialize and how a User is Saved in the Session
How to Add “Remember Me” Login Functionality
Forcing the User to Re-authenticate before Accessing certain Resources
How to Impersonate a User
How to Implement your own Voter to Blacklist IP Addresses
The Voter Interface
Creating a custom Voter
Declaring the Voter as a Service
Changing the Access Decision Strategy
How to Use Voters to Check User Permissions
How Symfony Uses Voters
The Voter Interface
Creating the custom Voter
Declaring the Voter as a Service
How to Use the Voter in a Controller
How to Use Access Control Lists (ACLs)
Bootstrapping
Getting Started
Cumulative Permissions
How to Use advanced ACL Concepts
Design Concepts
Database Table Structure
Scope of Access Control Entries
Pre-Authorization Decisions
Post Authorization Decisions
Process for Reaching Authorization Decisions
How to Force HTTPS or HTTP for different URLs
How to Restrict Firewalls to a Specific Request
Restricting by Pattern
Restricting by Host
Restricting by HTTP Methods
How to Restrict Firewalls to a Specific Host
How to Customize your Form Login
Form Login Configuration Reference
Redirecting after Success
How to Secure any Service or Method in your Application
Securing Methods Using Annotations
How to Create a custom User Provider
Create a User Class
Create a User Provider
Create a Service for the User Provider
Modify
security.yml
How to Create a Custom Form Password Authenticator
The Password Authenticator
How it Works
Configuration
How to Authenticate Users with API Keys
The API Key Authenticator
Handling Authentication Failure
Configuration
Storing Authentication in the Session
Only Authenticating for Certain URLs
How to Create a custom Authentication Provider
Meet WSSE
The Token
The Listener
The Authentication Provider
The Factory
Configuration
A little Extra
Using pre Authenticated Security Firewalls
X.509 Client Certificate Authentication
REMOTE_USER Based Authentication
How to Change the default Target Path Behavior
Using CSRF Protection in the Login Form
Configuring CSRF Protection
Rendering the CSRF field
How to Choose the Password Encoder Algorithm Dynamically
How Does the Security access_control Work?
1. Matching Options
2. Access Enforcement
Matching access_control By IP
Forcing a Channel (http, https)
How to Use multiple User Providers
最新网友评论
共有(
0
)条评论
发布评论
返回顶部
发 布
后端技术
PHP
Python
Ruby
Java
Android
Objective-C
Swift
Go
Node.js
Lua
JSP
D语言
R语言
前端技术
jQuery
Bootstrap
React.JS
React Native
AngularJS
JavaScript
Ember.JS
Zepto.js
Backbone.js
Vue
CSS
HTML5
数据库
Mysql
SQL Server
PostgreSQL
Oracle
DB2
SQLite
MongoDB
Redis
Memcached
SQL
热门框架
Yii
Laravel
Symfony2
Zend Framework
CodeIgniter
ThinkPHP
Phalcon
Swoole
Hibernate
JUnit
Django
Flask
Tornado
Smarty
常用IDE
Eclipse
MyEclipse
PhpStorm
PyCharm
Sublime Text
Android Studio
Zend Studio
IntelliJ IDEA
Xcode
Atom
Vim
其他
Git
SVN
Composer
Lucene
Docker
Hadoop
Linux
Nginx
Apache
Tengine
Tomcat
Lighttpd
Coreseek
Copyright © 2007-2017
PHPERZ.COM
All Rights Reserved
冀ICP备14009818号
版权声明
广告服务