mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-10-31 19:00:54 +00:00 
			
		
		
		
	hotfix merge #755 - Prevent click jacking of the management interface
This commit is contained in:
		
							parent
							
								
									7fa9baf308
								
							
						
					
					
						commit
						aa1fdaddaf
					
				| @ -4,6 +4,10 @@ CHANGELOG | ||||
| In Development | ||||
| -------------- | ||||
| 
 | ||||
| Control panel: | ||||
| 
 | ||||
| * Prevent click-jacking of the management interface by adding HTTP headers. | ||||
| 
 | ||||
| Setup: | ||||
| 
 | ||||
| * Setup dialogs did not appear correctly when connecting to SSH using Putty on Windows. | ||||
|  | ||||
| @ -6,6 +6,9 @@ | ||||
| 	location /admin/ { | ||||
| 		proxy_pass http://127.0.0.1:10222/; | ||||
| 		proxy_set_header X-Forwarded-For $remote_addr; | ||||
| 		add_header X-Frame-Options "DENY"; | ||||
| 		add_header X-Content-Type-Options nosniff; | ||||
| 		add_header Content-Security-Policy "frame-ancestors 'none';"; | ||||
| 	} | ||||
| 
 | ||||
| 	# ownCloud configuration. | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user