Home Backend Development PHP Tutorial 怎样防止网页被修改

怎样防止网页被修改

Jun 13, 2016 pm 12:15 PM
exe md5 thinkphp

请教大家怎样防止网页被修改
公司网站想加入网上支付方式,诸多优势大家都知道就不再多说了。但是现在非常犹豫,主要在于万一被攻击篡改,会不会应该给我们的钱会给别的账号了。所以涉及网上支付的那几个网页就成为重中之重,请问大家有没有方法思路保护网页安全。我所想到的一个方法是写一个exe程序间隔一段时间检测一次,这个可以做到,但是只是方法之一,更重要的是如何能够不被更改,而不是更改后再检测到。(由于涉及外国客户,网银的话会使用PalPay,网站使用thinkphp制作)。记得当年重过一次病毒,怎么都删不掉,后来格式化硬盘搞定的,现在到真想问问那个病毒作者学几招了
------解决思路----------------------
没搞过这个,我说下我自己的看法

取得几个文件MD5值对比文件是否被修改过
如果修改非法,直接用备用文件覆盖掉被修改的文件



这样虽然不能保证文件不被别人修改,但是非管理员修改也不会造成损失

------解决思路----------------------
这个好像不行吧,能看得到的东西基本都能搞定
------解决思路----------------------
1、增加服务器安全性
2、一般网上支付,都是对服务器域名,IP有限制的,也就是说,网上支付都是要记录公司资质和网站域名和IP的。所以从这点上来说,根本不用担心用户网上支付到其他账号上,因为银行那就不允许。
------解决思路----------------------
你设置为只能收款就可以了。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What is Updater.exe in Windows 11/10? Is this the Chrome process? What is Updater.exe in Windows 11/10? Is this the Chrome process? Mar 21, 2024 pm 05:36 PM

Every application you run on Windows has a component program to update it. So if you are using Google Chrome or Google Earth, it will run a GoogleUpdate.exe application, check if an update is available, and then update it based on the settings. However, if you no longer see it and instead see a process updater.exe in the Task Manager of Windows 11/10, there is a reason for this. What is Updater.exe in Windows 11/10? Google has rolled out updates for all its apps like Google Earth, Google Drive, Chrome, etc. This update brings

Windows cannot find uninstall.exe error [Fixed] Windows cannot find uninstall.exe error [Fixed] Feb 19, 2024 am 10:33 AM

Does Windows keep throwing Windows cannot find Uninstall.exe error when trying to uninstall an application? Some users have reported encountering this error while deleting an application or program from their PC. The following is an example of an upgraded error message: Windows cannot find 'C:ProgramFiles<Software-Name>uninstall.exe'. Please make sure you type the name correctly and try again. The path to the "uninstall.exe" file in the above error message differs depending on the software that is encountering this error. Why won't Windows let me uninstall? Windows appears unins

How to run thinkphp project How to run thinkphp project Apr 09, 2024 pm 05:33 PM

To run the ThinkPHP project, you need to: install Composer; use Composer to create the project; enter the project directory and execute php bin/console serve; visit http://localhost:8000 to view the welcome page.

There are several versions of thinkphp There are several versions of thinkphp Apr 09, 2024 pm 06:09 PM

ThinkPHP has multiple versions designed for different PHP versions. Major versions include 3.2, 5.0, 5.1, and 6.0, while minor versions are used to fix bugs and provide new features. The latest stable version is ThinkPHP 6.0.16. When choosing a version, consider the PHP version, feature requirements, and community support. It is recommended to use the latest stable version for best performance and support.

PyCharm Practical Tips: Convert Project to Executable EXE File PyCharm Practical Tips: Convert Project to Executable EXE File Feb 23, 2024 am 09:33 AM

PyCharm is a powerful Python integrated development environment that provides a wealth of development tools and environment configurations, allowing developers to write and debug code more efficiently. In the process of using PyCharm for Python project development, sometimes we need to package the project into an executable EXE file to run on a computer that does not have a Python environment installed. This article will introduce how to use PyCharm to convert a project into an executable EXE file, and give specific code examples. head

Reasons why exe files cannot be run on Windows 7 Reasons why exe files cannot be run on Windows 7 Feb 18, 2024 pm 08:32 PM

Why can't win7 run exe files? When using the Windows7 operating system, many users may encounter a common problem, that is, they cannot run exe files. exe files are common executable files in Windows operating systems. They are usually used to install and run various applications. However, some users may find that when they try to run the exe file, the system does not respond or gives an error message. There are many reasons for this problem. Below are some common causes and corresponding solutions:

How to run thinkphp How to run thinkphp Apr 09, 2024 pm 05:39 PM

Steps to run ThinkPHP Framework locally: Download and unzip ThinkPHP Framework to a local directory. Create a virtual host (optional) pointing to the ThinkPHP root directory. Configure database connection parameters. Start the web server. Initialize the ThinkPHP application. Access the ThinkPHP application URL and run it.

Windows cannot find MicrosoftSecurityApp.exe [Fix] Windows cannot find MicrosoftSecurityApp.exe [Fix] Feb 19, 2024 pm 01:50 PM

If you cannot find MicrosoftSecurityApp.exe in Windows, this article will help you. MicrosoftSecurityApp.exe is part of the MicrosoftDefender application, available in the Microsoft Store. It should be noted that the Microsoft Defender application is only available to users with Microsoft 365 personal or family subscriptions and is not associated with Windows' built-in security application. Fix Windows cannot find MicrosoftSecurityApp.exe when you try to run Microsoft

See all articles