当前位置:首页 > 软件开放 > 正文内容

php登陆界面源代码(登录界面php代码)

软件开放10个月前 (12-23)406

一、漏扫出现问题

检测到目标X-Content-Type-Options响应头缺失

add_header 'Referrer-Policy' 'origin';

1

检测到错误页面web应用服务器版本信息泄露 修改404页面及500页面,不要出现apache、nginx等字样

检测到目标Referrer-Policy响应头缺失

add_header 'Referrer-Policy' 'origin';

1

检测到目标X-XSS-Protection响应头缺失

add_header X-Xss-header “1;mode=block”;

1

检测到目标X-Download-Options响应头缺失

add_header X-Download-Options "noopen" always;

1

检测到目标Strict-Transport-Security响应头缺失

add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";

1

检测到目标Content-Security-Policy响应头缺失

add_header X-Frame-Options SAMEORIGIN;

1

检测到目标X-Permitted-Cross-Domain-Policies响应头缺失

header("X-Permitted-Cross-Domain-Policies:'master-only';");

1

展开全文

点击劫持:X-Frame-Options未配置

add_header X-Frame-Options SAMEORIGIN;

1

二、nginx.conf

http当中添加server_tokens off;

替换对应的站点域名;

#user nobody;

worker_processes 4;

#error_log logs/error.log;

#error_log logs/error.log notice;

#error_log logs/error.log info;

#pid logs/nginx.pid;

events {

worker_connections 40960;

}

http {

include mime.types;

default_type application/octet-stream;

#log_format main '$remote_addr - $remote_user [$time_local] "$request" '

# '$status $body_bytes_sent "$http_referer" '

# '"$http_user_agent" "$http_x_forwarded_for"';

#access_log logs/access.log main;

sendfile on;

#tcp_nopush on;

#keepalive_timeout 0;

keepalive_timeout 65;

server_tokens off;

server {

listen 8080;

server_name *.demo.com;

root "/www/demo";

location / {

index index.php index.html error/index.html;

error_page 400 /error/400.html;

error_page 403 /error/403.html;

error_page 404 /error/404.html;

error_page 500 /error/500.html;

error_page 501 /error/501.html;

error_page 502 /error/502.html;

error_page 503 /error/503.html;

error_page 504 /error/504.html;

error_page 505 /error/505.html;

error_page 506 /error/506.html;

error_page 507 /error/507.html;

error_page 509 /error/509.html;

error_page 510 /error/510.html;

include D:/phpstudy_pro/WWW/8100ktc/nginx.htaccess;

autoindex off;

}

location ~ \.php(.*)$ {

fastcgi_pass 127.0.0.1:9007;

fastcgi_index index.php;

fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

fastcgi_param PATH_INFO $fastcgi_path_info;

fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;

include fastcgi_params;

}

add_header X-Content-Type-Options nosniff;

add_header 'Referrer-Policy' 'origin';

add_header X-Download-Options "noopen" always;

add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";

add_header X-Permitted-Cross-Domain-Policies "master-only";

add_header X-Frame-Options SAMEORIGIN;

add_header Content-Security-Policy "default-src 'self' data: *.xxx.com 'unsafe-inline' 'unsafe-eval' mediastream: ";

add_header X-Content-Type-Options: nosniff;

add_header X-XSS-Protection "1; mode=block";

# proxy_hide_header X-Powered-By;

}

}

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

php登陆界面源代码(登录界面php代码)

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

————————————————

版权声明:本文为CSDN博主「那小子很拽」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/haoqi9999/article/details/123271036

扫描二维码推送至手机访问。

版权声明:本文由飞速云SEO网络优化推广发布,如需转载请注明出处。

本文链接:http://muyuzhen.com/post/73052.html

分享给朋友:

“php登陆界面源代码(登录界面php代码)” 的相关文章

打车软件开发(打车软件开发需要什么)

打车软件开发(打车软件开发需要什么)

本篇文章给大家谈谈打车软件开发,以及打车软件开发需要什么对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。 本文目录一览: 1、定制开发一个类似滴滴打车的服务软件,需多少钱 2、打车app开发流程 3、打车软件开发过程中存在的十大风险有哪些 定制开发一个类似滴滴打车的服务软件,需多少钱...

做个app的费用大概多少(做个app得多少钱)

做个app的费用大概多少(做个app得多少钱)

今天给各位分享做个app的费用大概多少的知识,其中也会对做个app得多少钱进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!本文目录一览: 1、做一个APP要花多少钱? 2、开发一款app需要多少成本? 3、制作一个app需要多少钱? 4、开发一个app需多少钱 做...

十大app开发公司排名(app开发公司哪家最好)

十大app开发公司排名(app开发公司哪家最好)

今天给各位分享十大app开发公司排名的知识,其中也会对app开发公司哪家最好进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!本文目录一览: 1、开发app较好的公司有哪些? 2、app开发有名的公司有哪些? 3、中国十大APP设计开发公司? 4、APP开发哪家好?...

软件开发公司排行榜(上海软件开发公司排行榜)

软件开发公司排行榜(上海软件开发公司排行榜)

今天给各位分享软件开发公司排行榜的知识,其中也会对上海软件开发公司排行榜进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!本文目录一览: 1、软件开发哪家公司好 2、2021中国十大软件公司排名 3、小程序的开发公司排名 4、软件开发十大排行榜公司有哪些? 5、软...

国家中小学资源教育平台课程网盘(国家中小学课程资源百度云)

国家中小学资源教育平台课程网盘(国家中小学课程资源百度云)

本篇文章给大家谈谈国家中小学资源教育平台课程网盘,以及国家中小学课程资源百度云对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。 本文目录一览: 1、国家中小学教育云平台里面的免费课程数学怎么没有青岛版的呀 2、中小学生网络云平台学生资源在哪 3、国家教育资源平台怎么下载视频 国家中小...

打鬼子扑克牌下载(打鬼子手机版下载)

打鬼子扑克牌下载(打鬼子手机版下载)

今天给各位分享打鬼子扑克牌下载的知识,其中也会对打鬼子手机版下载进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!本文目录一览: 1、哪里有 打鬼子扑克游戏下载 2、恩施纸牌144张上大人怎么下载的 3、打鬼子扑克牌在哪下载 4、用电脑如何下载朴克牌小游戏 5、广...