ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Building Secure PHP Applications: A Comprehensive Guide to Protecting Your Web Applications from Threats

دانلود کتاب ساخت برنامه های PHP امن: یک راهنمای جامع برای محافظت از برنامه های وب خود در برابر تهدیدها

Building Secure PHP Applications: A Comprehensive Guide to Protecting Your Web Applications from Threats

مشخصات کتاب

Building Secure PHP Applications: A Comprehensive Guide to Protecting Your Web Applications from Threats

ویرایش:  
نویسندگان:   
سری:  
ISBN (شابک) : 9798868809316, 9798868809323 
ناشر:  
سال نشر: 2024 
تعداد صفحات: [437] 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 5 Mb 

قیمت کتاب (تومان) : 59,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 1


در صورت تبدیل فایل کتاب Building Secure PHP Applications: A Comprehensive Guide to Protecting Your Web Applications from Threats به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب ساخت برنامه های PHP امن: یک راهنمای جامع برای محافظت از برنامه های وب خود در برابر تهدیدها نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی درمورد کتاب به خارجی



فهرست مطالب

Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Introduction to PHP Application Security
	What Is Application Security?
		Protection of Software Applications
		Identification of Vulnerabilities
		Lifecycle Approach
		Security Testing
		Secure Development Practices
		Authentication and Authorization
		Data Protection
		Incident Response
		Compliance and Regulations
	Importance of Security
	Role of Application Developer in Security
	Understanding the PHP Security Landscape
		Core PHP Security
		Framework-Specific Security
		Ecosystem Security
	The Impact of Security Vulnerabilities in PHP Applications
		Data Breaches
		Financial Loss
		Reputation Damage
		Operational Disruption
		Legal Consequences
		User Impact
		Mitigation Costs
		Long-Term Impact
		Damage Beyond the Application
		Operational Inefficiency
	Common Attack Vectors and Threats
		Phishing Attacks
		Malware
		Denial-of-Service (DoS) and Distributed Denial-of-Service (DDoS) Attacks
		SQL Injection
		Cross-Site Scripting (XSS)
		Cross-Site Request Forgery (CSRF)
		Man-in-the-Middle (MitM) Attacks
		Social Engineering
		Insider Threats
		Zero-Day Vulnerabilities
		Credential Theft
		IoT Vulnerabilities
		Cryptojacking
		Supply Chain Attacks
		Advanced Persistent Threats (APTs)
	Principles of Secure PHP Application Development
		Security by Design
		Secure Coding Practices
		Authentication and Authorization
		Session Management
		File Uploads
		Error Handling and Logging
		Security Updates and Patch Management
		Secure Communication
		Security Testing and Code Reviews
		Incident Response Plan
	Summary
Chapter 2: PHP Core Security
	The Great PHP Update Debate
	Why Does PHP Version Matters?
		Security Updates
		End of Life (EOL)
		Best Practices
		Performance and Efficiency
		Compatibility
		Vendor and Application Support
	Secure PHP Configuration
		php.ini
		Directives
		Per-Directory Configuration
		Runtime Configuration
		Extensions
		Security
		Common Settings
		Error Reporting (“display_errors”, “error_reporting”)
		“expose_php = Off”
		“error_reporting = E_ALL”
		“display_errors = Off”
		“display_startup_errors = Off”
		“log_errors = On”
		“error_log = /valid_path/PHP-logs/php_error.log”
		“ignore_repeated_errors = Off”
		File Inclusion (“allow_url_fopen”, “allow_url_include”)
		SQL Injection Prevention (“magic_quotes_gpc”, “mysqli”)
		File Uploads (“upload_max_filesize”, “post_max_size”)
		“file_uploads = On”
		“upload_tmp_dir = /path/PHP-uploads/”
		“upload_max_filesize = 2M”
		“post_max_size = 5M”
		“max_file_uploads = 2”
		Session Management (“session.cookie_secure”, “session.cookie_httponly”)
	Session Data Storage and Management
		session.save_path
		session.name
	Session Initialization and Handling
		session.auto_start
		session.use_trans_sid
	Session Cookie Configuration
		session.cookie_domain
		session.cookie_secure
		session.cookie_httponly
		session.cookie_samesite
	Session Security Enhancements
		session.use_strict_mode
		session.use_cookies and session.use_only_cookies
		session.cookie_lifetime
	Additional Security Measures
		session.cache_expire
		session.sid_length
		session.sid_bits_per_character
		session.hash_function and session.hash_bits_per_character
		Access Controls (“open_basedir”, “disable_functions”)
		“enable_dl = Off”
		“disable_functions = ”
		“disable_classes = ...”
	Other PHP General Settings
		doc_root and open_basedir
		include_path
		extension_dir
		mime_magic.magicfile
		allow_webdav_methods
		session.gc_maxlifetime
		session.referer_check = /application/path
		memory_limit =
		max_execution_time =
		report_memleaks = On
		track_errors = Off
		html_errors = Off
	Input Validation and Sanitization Techniques
		Preventing Injection Attacks
		Mitigating Data Exposure
		Safeguarding Against Parameter Manipulation
		Defending Against Cross-Site Scripting (XSS)
		Blocking Cross-Site Request Forgery (CSRF) Attacks
		Enhancing Data Integrity
		Preventing Application Logic Abuse
		Strengthening Database Security
		Ensuring Compliance
		Minimizing Attack Surfaces
		Maintaining User Trust
		Facilitating Future Development
		Data Filtering and Validation Functions
		Regular Expressions
		Allowed List and Denied List
		Escape Output
		Parameterized Queries
		Cross-Site Request Forgery (CSRF) Tokens
		Content Security Policy (CSP)
		HTTP Security Headers
		File Upload Validation
		Input Sanitization
		Prevention of SQL Injection
		Mitigation of Cross-Site Scripting (XSS)
		Preventing Cross-Site Request Forgery (CSRF)
		Protection Against Data Tampering
		Defense Against File Upload Exploits
		Reducing Attack Surface
		Enhanced User Experience
		Compliance with Security Best Practices
		Long-Term Maintenance and Security
		Stripping HTML Tags
		Filtering Special Characters
		Using “htmlspecialchars()” for Output Escaping
		Preventing SQL Injection with Prepared Statements
		Handling File Uploads Securely
		Filtering User-Generated URLs
		Removing or Escaping Control Characters
	Handling Sessions and Cookies Securely
		Cookies
		Sessions
			Handling Sessions Securely
				Importance from a Security Perspective
			Example of Avoiding Storing Sensitive Data in Sessions
	Secure File Handling and Uploads
		Limit File Types
		Rename Uploaded Files
		Use a Secure Directory
		Set Appropriate Permissions
		Validate File Size
		Use a Randomized Upload Path
		Prevent Double Extensions
		Validate and Sanitize File Names
		Regularly Clean the Uploads Directory
		Implement an Authentication and Authorization System
	Securing Database Operations in PHP
		Use Prepared Statements (Parameterized Queries)
		Input Validation and Sanitization
		Authentication and Authorization
		Limit Database Privileges
		Protect Database Credentials
		Validate User Input for Query Parameters
		Regularly Update and Patch
		Error Handling
		Logging and Monitoring
		Secure Your Environment
		Data Encryption
	Summary
Chapter 3: Web Security for PHP Applications
	Principles of Web Application Security
		Defense in Depth
			Implementing Multiple Layers of Security Mechanisms
		Least Privilege
			Implementing the Principle of Least Privilege
		Input Validation
		Secure Coding Practices
		Authentication and Authorization
			Authentication
				Username and Password
				Multifactor Authentication (MFA)
			Authorization
				Role-Based Access Control (RBAC)
				Database-Driven Authorization
		Secure Session Management
		Custom Middleware or Access Control Lists (ACL)
		Encryption
			Encrypt Sensitive Data in Transit and at Rest Using TLS/SSL
			Encrypt Data Using PHP's “openssl” Functions
		Error Handling
		Session Management
		Web Application Firewalls (WAFs)
		Regular Security Testing
		Patch Management
		Data Validation
		Security Headers
		Security by Design
		Incident Response Plan
		User Education
		Vendor Security
	Protecting Against Cross-Site Scripting (XSS) Attacks
		Output Encoding
		Content Security Policy (CSP)
		Input Validation
		Use Prepared Statements (Database Queries)
		Avoid Dynamic JavaScript Generation
		HTTP-Only Cookies
		Use Security Libraries
		Regular Security Testing
		Security Training
		Mitigating Cross-Site Request Forgery (CSRF) Attack
		Unauthorized Actions
		Data Manipulation
		Financial Loss
		Data Exposure
		Authentication Bypass
		Session Hijacking
		Reputation Damage
		Legal and Compliance Issues
			Use Anti-CSRF Tokens
			Check Referer Header
			Verify Origin Header (Same-Site Cookies)
			Use POST Requests for Sensitive Operations
			Check and Validate User Session
	Summary
Chapter 4: Framework Security
	Introduction to Laravel Security Features
		Cross-Site Request Forgery (CSRF) Protection
		Cross-Site Scripting (XSS) Protection
		SQL Injection Protection
		Authentication and Authorization
		Session Security
		File Upload Security
		Middleware for Additional Protection
		HTTPS and Secure Configuration
	Secure Configuration and Deployment in Laravel
		Protecting Sensitive Information
		Preventing Security Vulnerabilities
		Enforcing HTTPS for Secure Communication
		Implementing HTTP Strict Transport Security (HSTS)
		Maintaining Production-Ready Environments
		Enhancing Overall Application Security
			Secure Configuration
			HTTPS and HSTS
			Deployment Best Practices
	Protecting Routes, Middleware, and Controllers
		1. Access Control and Authorization
		2. Input Validation and Sanitization
		3. Defense Against Attacks and Security Policies
		4. Logging and Monitoring
	Security Best Practices
		Role-Based Access Control (RBAC)
		Middleware
		Policies
		Authorization in Controllers
		Middleware Parameters
		Error Handling
		Route Grouping
	Securing Laravel Database Operations
	Summary
Chapter 5: Security Standards and Best Practices
	OWASP Top Ten: Key Web Application Security Risks
		Injection (SQL, NoSQL, OS)
		Cross-Site Scripting (XSS)
		Broken Authentication
		Insecure Direct Object References (IDOR)
		Security Misconfigurations
		Sensitive Data Exposure
		Missing Function-Level Access Control
		Cross-Site Request Forgery (CSRF)
		Using Components with Known Vulnerabilities
		Unvalidated Redirects and Forwards
	Secure Coding Practices and Code Reviews
		Secure Coding Practices in PHP
		Input Validation and Sanitization
		Password Handling
		Session Management
		Error Handling
		File Upload Security
		Cross-Site Request Forgery (CSRF) Tokens
		Data Validation and Sanitization
		Secure Password Recovery
		Content Security Policy (CSP)
		Database Connection Security
		Session Security
		SSL/TLS Usage
		Secure Coding Practices in Laravel
		Middleware for Authentication and Authorization
		Use Laravel’s Authentication System
		Validation with Requests
		Authorization with Policies and Gates
		Use Eloquent ORM Safely
		Cross-Site Request Forgery (CSRF) Protection
		Secure Session Management
		Content Security Policy (CSP)
		Use Dependency Injection
		Database Migrations and Seeders
		Use HTTPS
		Code Reviews
		Peer Reviews
		Static Code Analysis
		Security Linters and Scanners
		Checklist-Based Reviews
		Automated Testing
	Security-Related Packages in Laravel
		Laravel Bouncer (for Authorization)
		Laravel Sanctum (for API Authentication)
		Laravel Debugbar (for Debugging and Profiling)
		Laravel Scout (for Full-Text Search)
		Laravel Telescope (for Monitoring and Debugging)
		Laravel Nova (for Admin Panel)
		Spatie Laravel Activitylog (for Activity Logging)
		Intervention Image (for Image Handling)
		Laravel Dusk (for Browser Testing)
		Laravel Medialibrary (for Media Management)
	Secure Authentication and Authorization Mechanisms
		Importance of Secure Authentication and Authorization
		Secure Authentication and Authorization in PHP
		Laravel Sanctum (for API Authentication)
		Laravel Passport (for OAuth2)
		Laravel Breeze (for Starter Kits)
		Laravel Fortify (for Custom Authentication)
			Additional Techniques and Best Practices
				OAuth2 and OpenID Connect
				JWT (JSON Web Tokens)
				Two-Factor Authentication (2FA)
				Role-Based Access Control (RBAC)
				LDAP Integration
	Security Testing and Vulnerability Assessments
		Importance of Security Testing and Vulnerability Assessments
		Security Testing and Vulnerability Assessment Practices:
		Static Application Security Testing (SAST)
		Dynamic Application Security Testing (DAST)
		Dependency Scanning
		Container Image Scanning
		Security Headers
		Automated Security Testing in CI/CD
			Cloud-Specific Security Testing
				Cloud Security Posture Management (CSPM)
				Serverless Security Testing
				Cloud-Native Security Scanning
				Regular Security Audits
				Continuous Improvement
	Secure Deployment and DevOps Considerations
		General Secure Deployment and DevOps Considerations
			1. Infrastructure as Code (IaC)
			2. Continuous Integration and Continuous Deployment (CI/CD)
			3. Immutable Infrastructure
			4. Secrets Management
			5. Dependency Scanning
		PHP and Laravel-Specific Deployment Considerations
			1. Environment Configuration
			2. Code Obfuscation and Encryption
			3. Secure Laravel Configuration
			4. Laravel Horizon for Queue Management
		Secure Deployment Code Practices (Example Using Ansible)
		General Secure Deployment Code Practices
			Infrastructure as Code (IaC) with CloudFormation or Terraform
			Containerization with Docker and Kubernetes
			Secure Storage Management
			Identity and Access Management (IAM)
			Network Security with Virtual Private Cloud (VPC)
			Logging and Monitoring
			Automated Security Scanning
			Secrets Management with Cloud Key Management Services
			Serverless Architectures
			Backup and Disaster Recovery
	Summary
Chapter 6: Protocol Security
	Securing HTTP Communications: SSL/TLS and HTTPS
		HTTPS
		SSL (Secure Sockets Layer) and TLS (Transport Layer Security)
			SSL (Secure Sockets Layer)
			TLS (Transport Layer Security)
			SSL/TLS Handshake Process
	Usage of SSL/TLS/HTTPS in the Context of PHP Application
		Web Server Configurations
			Nginx Configuration
			Apache Configuration
			Laravel Configuration
		Forced HTTPS in Laravel
		HSTS (HTTP Strict Transport Security)
		Mixed Content Handling
		Laravel Mix
		Testing
	Securely Handling User Input and Data Transmission
		Code Samples and Examples in Laravel
	Securing API Communication: OAuth, JWT, and API Security Best Practices
		Code Samples and Examples in Laravel
	Implementing Transport Layer Security (TLS) for Email Communication
		Key Reasons for Implementing TLS for Email Communication
		Confidentiality
			Integrity
			Authentication
			Compliance
		Configuring Laravel for TLS Email Communication
	Summary
Chapter 7: Incident Response and Security Monitoring
	Developing an Incident Response Plan
		Identifying Stakeholders
		Define Incident Severity Levels
		Establish Communication Channels
		Create an Incident Response Team (IRT)
		Document PHP Application Architecture
		Implement Monitoring and Logging
		Define Incident Response Procedures
		Test Incident Response Plan
		Incident Reporting and Escalation
		Post-incident Analysis and Improvement
		Training and Awareness
		Legal and Regulatory Compliance
	Incident Communication and Escalation Procedures
		Define Communication Channels
		Designate Communication Roles
		Incident Reporting Process
		Internal Communication Procedures
		External Communication Procedures
		Incident Severity Classification
		Escalation Matrix
		Response Time Objectives (RTOs) and Service-Level Agreements (SLAs)
		Incident Notification Templates
		Training and Awareness
		Documentation and Post-incident Analysis
		Legal and Regulatory Compliance
	Forensic Analysis and Post-incident Analysis
	Implementing Security Monitoring and Intrusion Detection Systems
	Summary
Chapter 8: Future Trends in PHP Application Security
	Emerging Security Threats and Attack Techniques
	Advancements in Security Tools and Technologies
	The Role of AI and Machine Learning in PHP Application Security
	Integrating LLMs and Generative AI Technologies into PHP Application Security
	Securing Microservices and Serverless Architectures
		Implement Proper Authentication and Authorization
		Secure Communication Channels
		Apply the Principle of Least Privilege
		Implement Defense in Depth
		Monitor and Logging
		Continuous Vulnerability Management
		Secure Deployment and Configuration
		Implement Rate Limiting and Throttling
		Container and Function Security
		Security Testing and Compliance
	Summary
Index
df-Capture.PNG




نظرات کاربران