File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
10
10
- Address parsing improved and extended to include more cases
11
11
12
12
### Added
13
+ - Security configuration options added
13
14
- Spoofing detection added #40
14
15
15
16
### Breaking changes
Original file line number Diff line number Diff line change 35
35
*/
36
36
'default ' => 'default ' ,
37
37
38
+ /*
39
+ |--------------------------------------------------------------------------
40
+ | Security options
41
+ |--------------------------------------------------------------------------
42
+ |
43
+ | You can enable or disable certain security features here by setting them to true or false to enable or disable
44
+ | them.
45
+ | -detect_spoofing:
46
+ | Detect spoofing attempts by checking the message sender against the message headers.
47
+ | Default TRUE
48
+ | -detect_spoofing_exception:
49
+ | Throw an exception if a spoofing attempt is detected.
50
+ | Default FALSE
51
+ | -sanitize_filenames:
52
+ | Sanitize attachment filenames by removing any unwanted and potentially dangerous characters. This is not a
53
+ | 100% secure solution, but it should help to prevent some common attacks. Please sanitize the filenames
54
+ | again if you need a more secure solution.
55
+ | Default TRUE
56
+ |
57
+ */
58
+ 'security ' => [
59
+ "detect_spoofing " => true ,
60
+ "detect_spoofing_exception " => false ,
61
+ "sanitize_filenames " => true ,
62
+ ],
63
+
38
64
/*
39
65
|--------------------------------------------------------------------------
40
66
| Available accounts
You can’t perform that action at this time.
0 commit comments