When we manage Web site files, we can put the same file name extension under the same directory, a more special names, such as the PDF file directory for the_pdf_file_s, save the following code as down.asp, his online path is http://www.xx.com/ Down.asp, we can use http://www.xx.com/down.asp? Filename=51windows.pdf to download this file, and the download can not see the actual download path of this file! In down.asp we can also set whether the download file need to log in, to determine whether t
Although it can minimize the losses caused by Trojans and backdoors, the best way is to prevent them from happening.
1. Basic backdoor defense skills
First, you must disable unnecessary ports on the local machine or only allow access from specified ports. Second, you must use the Trojan-killing software to effectively prevent Trojans and backdoors. Third, you must learn how to operate processes, always pay
How to Prevent "recently used Files" from appearing in Win10 and prevent win10
When we opened the win10 file resource manager, we found that recently used files appeared at the bottom of the page. Many friends do not like this setting on win10, And the win10 system is very user-friendly, we can cancel this setting directly or enable it again. How can this problem be solved?
Open the Start menu and click
Time should be put before to prevent dislocation, time should be put to prevent dislocation
E when the browser is not compatible, NOTE: When in IE, the date will be misplaced by a line. Solution: put the date with span in front of the news title;
The phone must have root permission before the following operation (Android phone gets root permission method)
1 in our mobile phone to install a "360 antivirus" software, and then we can use this software to "prevent advertising harassment" Oh, open the software click to prevent ads harassment as shown.
2 Then we will enter to 360 antivirus "anti-advertising harassment" and then 360 antivirus will scan
security.Even so far, some people don't even know the basic semantics of SQL syntax.String sql = "SELECT * from Tb_name where name= '" +varname+ "' and passwd= '" +varpasswd+ "'";If we pass [' or ' 1 ' = ' 1] in as varpasswd. User name feel free to see what will become?SELECT * from tb_name = ' random ' and passwd = ' or ' 1 ' = ' 1 ';Because ' 1 ' = ' 1 ' is sure to be true, so you can pass any validation. What's more:Put [';d rop table tb_name;] Incoming in as VARPASSWD:SELECT * from tb_name
I personally comment on how to better prevent hacker attacks! First, free programs should not be used for free. Since you can share the original code, attackers can analyze the code. If you take precautions for the details, the security of your site will be greatly improved. Even if an SQL injection vulnerability occurs, attackers cannot immediately win your website.
Because ASP is easy to use, more and more website background programs use ASP scripti
iisexecutable privilege, the upload .jpg image can also execute an ASP Trojan. Haha
The upload format is xxx.asp;_200.jpg.
Upload is uploaded in the format of .jpg, but there is. asp in the middle. This can also execute scripts, which should also be a bug in IIS.
Solution:
1. The directory that can be uploaded does not allow IIS to execute scripts.
2. Use other software with file protection to prevent *. asp; *. jpg from writing files.
3. A
1. Anti-hotlinking
Websites that steal your content and don't want to store images on their own are shameless. You can use the following configuration to place someone else to steal your image:
1 Rewritebase/
2 Rewritecond%{http_referer}!^$
3 Rewritecond%{http_referer}!^http://(www.) yoursite.com/.*$ [NC]
4 Rewriterule. (gif|jpg|swf|flv|png) $/feed/[r=302,l]
2. Prevent Directory browsing
Sometimes directory browsing is useful, but in most cases ther
Explanation of PHP methods to prevent leeching and thunder downloads; explanation of php methods to prevent thunder
Preventing leeching:
Principle: when the server asks us to download the file, we will get a link. Then we can find the file through this link and download it. That is to say, this link must be available. How can we prevent leeching? That is, the lin
Php emergency code to prevent website attacks, php to prevent emergency code. Php emergency code to prevent websites from being attacked. php has recently prevented a website from being attacked and the database has been flushed away. Fortunately, there is a database backup on the customer's machine. In case of such strict php emergency code to
How to Prevent SQL Injection Analysis in PHP and prevent SQL Injection in php
This article describes how to prevent SQL Injection in PHP. Share it with you for your reference. The specific analysis is as follows:
I. Problem description:
If the data entered by the user is inserted into an SQL query statement without being processed, the application may be vulnerab
Presumably, many VM users have experienced web page tampering and data deletion,In addition to suffering from such behavior, many customers suffer from ineffective preventive measures.
In view of the fact that most website intrusions are completed by using asp Trojans, our company will close up this article so that common VM users can better understand and prevent asp Trojans. Only by taking preventive measures jointly between the space provider and t
Some irrelevant data, was taken off the library what, there is nothing, but some of the more important data is taken off the library, although there may be no serious loss, but will be very ashamed of the same, was burst off the library of what, will always be more embarrassing, to tell the truth is also quite embarrassing, can be more defensive, there are loopholes in the shortcomings ofIn order to prevent unnecessary trouble, we can use out-of-the-b
How to Prevent Automatic Win10 upgrade and Prevent Automatic win10 upgrade
Now Microsoft has released an official method to prevent auto-upgrade of the Win10 system. The specific procedure is as follows: Please come and check out my experience.
Here, we first use the Group Policy Editor to modify, press the Windows logo key + R key on the desktop, open the Run
Summary of five methods to effectively prevent SQL injection, and 5 methods to effectively prevent SQL Injection
SQL Injection
SQL injection is a type of attack that causes great harm. Although the attack is very harmful, the defense is far from as difficult as XSS.
The cause of the SQL injection vulnerability is splicing SQL parameters. That is, directly concatenate the query parameters used for input into
The computer re-installed sqlserver2008 R2 (English), New data table, new field, found that there is a field type set wrong, want to modify the field type, and the table has been saved, that is, after saving to modify the field properties. However, the modified settings cannot be saved, prompting "saving changes is not permitted" (specifically)Workaround:Find the Tools->options in the menu bar, find the designers, and then prevent saving changes that
Database firewall onefirewall, how to prevent the hacker physical deletion? Prevent Ctrip from happening againFirst explain the database firewall principle (white list mechanism): Similar to 360 mobile phone defender, pre-defined address book, others call you, only in the Address Book phone can answer, no direct rejection in the Address book.The database is usually the focus of sensitive information, but al
As email is increasingly becoming an important means of daily communication, the shadow of viruses begins to surround emails. Today, more than of computer viruses are transmitted by email. So how can we comprehensively intercept email viruses?
You can usually use the following measures:
1. prohibit other programs from secretly sending emails
In order to prevent the email virus from automatically querying the user's address book, and then sending it to
Prevent logon pages from appearing in frames and prevent logon to Frames
When using the nested frame page for development, the logon page appears on the frame page when the server is restarted,
Therefore, you need to use js to determine the current address information on the logon page, and then jump to the separate logon page.
The js Code is as follows:
$ ("Document"). ready (function () {//
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.