When we stand, I do not know the safety of the security did not!
General website that does not talk about security, but if it is e-commerce that,
That is not the end, so we propose that we do not just stand for safety
Then I'll talk about what I did when I met some problems: (just some personal opinion, certainly can't say so professional, also can not and other people (master) so to the point)
First: Landing security
Do not know that the attention has not, in the landing, if you do not restrict some characters, your landing there is no security to say, yesterday I encountered this problem, if you want to know the reasons for this see (lonely eldest brother wrote 0): http://www.2yup.com/asp/forum/ branch.asp?pid=0039071#f0039071
Second: the security after landing
If you leave the user alone, there is no limit, so there is no way to talk about security. So use a variable to limit the user (I am using: Add a sentence in front of each page
If session ("useronline") = "" Then
Response.Write "You are not a valid user, click Please launch"
Response.Write "<a href= ' # ' onclick= ' Window.close () ' > Launch </a>"
Else
' Write your own program.
End If
Session ("Useronlie") =user_name This is a landing write a word
Used to hold the user's information.
Temporarily say these two points other later met again (I am not)
^_^
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service